# How to create your own Domain name for Hashnode

This article will guide you through the setup & configuration of your custom Hashnode domain name.

Let's begin...

# Domain registration on GoDaddy

1) You have to come up with your desired domain name 

**Note:** This is the hardest part of this tutorial 😅

Let's imagine that you have chosen the following domain name `mynickname.dev`

2) Go to https://godaddy.com, enter your domain and click Search

3) If the domain name is available - add it to your cart and hit `Continue to Cart`

 [![1A.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627466700973/GeWKKGlDW.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627466700973/GeWKKGlDW.jpeg) 

4) In the second section uncheck the box `Start your website for FREE`

**Note** Additionally you can enable `Full Domain Privacy & Protection` (recommended)

[![2.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627466729290/P2olDq61-.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627466729290/P2olDq61-.jpeg)

5) On the final page you need to remove `Standard SSL` since Hashnode & Cloudflare will set up their own life-free SSL certificates.

**Note** You can change `2 Years` to `1 Year` - it will be cheaper to start.

[![3.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627466934157/MDI29iNrO.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627466934157/MDI29iNrO.jpeg)

6) Continue to checkout and pay for the domain

-----------------------------------------

# Domain registration on Cloudflare


1) Navigate to https://www.cloudflare.com/ and create your account

After creating an account click on the section named `Protect your internet presence`

[![3B.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468156263/jaFNfa2-9.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468156263/jaFNfa2-9.jpeg)

2) Enter your domain name and hit `Add site`

[![3C.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468208320/-BvNTarCz.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468208320/-BvNTarCz.jpeg)

3) Select `Free` plan and hit `Continue`

[![3D.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468257247/ZOXQZ2CYW.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468257247/ZOXQZ2CYW.jpeg)

4) Click on the newly created domain name

[![4B.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468318919/Ud0QF3Hpb.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468318919/Ud0QF3Hpb.jpeg)

5) Copy `Nameserver 1` and `Nameserver 2` URL's from the config page

[![5BB.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468493864/lYNsQgC-K.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468493864/lYNsQgC-K.jpeg)

-----------------------------------------

# Changing nameservers on GoDaddy


1) Navigate back to your GoDaddy account, go to the home page and click on your domain

[![6.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468623047/z-5hL_Hys.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468623047/z-5hL_Hys.jpeg)

2) Click on `DNS` and select `Manage Zones` from the dropdown

[![7.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468676340/L70LUbx3S.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468676340/L70LUbx3S.jpeg)

3) Search for your domain on the next page and click on it

[![8.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468703531/upfFJ63n8.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468703531/upfFJ63n8.jpeg)

4) In the `Nameservers` section click the `Change` button

[![9.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468737598/fBBFophca.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468737598/fBBFophca.jpeg)

5) Check `I'll use my own nameservers` and enter copied `Nameserver 1` and `Nameserver 2`

[![10.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468819121/zGo8L0YsV.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468819121/zGo8L0YsV.jpeg)

6) After ~5-30 minutes you will receive an email that your domain is ready, you can go back to your Cloudflare dashboard and check the status

[![11A.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468968105/x7zGDrVtU.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627468968105/x7zGDrVtU.jpeg)

-----------------------------------------

# Hashnode setup for custom domain


1) Go to your Hashnode account, click your profile image and select `Blog Dashboard`

[![12.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627469100184/gevO0uhjD.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627469100184/gevO0uhjD.jpeg)

2) Scroll down and click the `Domain` button

[![13.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627469128969/wZV7i4duW.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627469128969/wZV7i4duW.jpeg)

3) Enter your domain name or `blog` subdomain for your domain and hit `Update`

**Note** In this example we are using the `blog` subdomain. e.g. `blog.mynickname.dev`

[![14.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627469386909/M17Fdr8LN.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627469386909/M17Fdr8LN.jpeg)

4) On the next page with configurations, you need to copy the `Host name` & `Value` fields.

[![15.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627469474587/Z6kw7bEum.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627469474587/Z6kw7bEum.jpeg)

-----------------------------------------

# Cloudflare final setup for Hashnode domain

1) Go to your Cloudflare account, select your domain and then click the `DNS` button

2) Click the `Add record` button, select `CNAME` as Type.

3) Put copied `Host name` value into `Name` field and `Value` value into `Target` field

4) Click on `Proxy status` to set it to gray and `Save`

[![16.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627469762333/UxwcvktUI.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627469762333/UxwcvktUI.jpeg)

After ~ 5 - 10 minutes go back to your Hashnode account and check the status of your domain

[![Screenshot_1.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1627470133754/GWvfjsyQ8.jpeg)](https://cdn.hashnode.com/res/hashnode/image/upload/v1627470133754/GWvfjsyQ8.jpeg)

If everything is OK - you can now use it

-----------------------------------------

Thank you for your time,
Have a nice day!

Best Regards,
Anton (therceman)

[Find me on Twitter](https://twitter.com/therceman)
