How to use your Netlify domain as a subdomain for your Hashnode blog

Search for a command to run...

What are we going to rebuild? In this Blog Post from my UI / UX Bits series, we will rebuild a nice hover animation for buttons or links from https://touchycoffee.com/. We going to rebuild this UI interaction: What do we see? We see a button element...
What are we going to rebuild In this Blog Post from my UI / UX Bits series, we will rebuild a nice hover interaction built by https://www.discoveroutpost.com/. We going to rebuild this UI interaction. What do we see? We see a hover effect on an elem...
What are we going to rebuild? In this Blog Post from my UI / UX Bits series, we will rebuild a nice navigation interaction built by Eric Van Holtz. You can find it at https://vanholtz.co/ We going to rebuild this UI interaction. What do we see? We s...
and how to not overwrite your previous HTML reports with the latest run

Signal vs. Store vs. Mutable and when to use what

Did you buy your Domain on Netlify, and now you want to use your domain with Hashnode as your blogging service?
Me too.
You can easily create a subdomain from your existing domain on netlify and connect it to your blog in 4 steps.
Go to your netlify overview page and choose the app with the domain you want to connect to your Hashnode blog.
If you are on the overview of your project, you have a "Domain settings" button.

After clicking the button you see your Domain settings.
On the Domain settings page, you now see an "Options" dropdown next to your domain. If you click it, a dropdown opens with a button to go to your DNS settings.

On the DNS settings page, you see a button "Add new record".

If you click it, a modal opens where you can add your CNAME record.

On Record type you select CNAME. In the field name, you put the name of the subdomain you want to connect to your blog.
For example:
If your domain is mydomain.cool and you chose the name "xyz", then your Hashnode blog can be accessed under the domain xyz.mydomain.cool.
In value, you have to put in: hashnode.network
If you want to know what a CNAME is you can read this Cloudflare blog about the DNS CNAME RECORD.
You can leave the field "TTL in seconds (optional)" empty.
When you have filled out all the fields you can click on the Save button to add the new CNAME.
Go to your Hashnode blog's dashboard and click on "Domain" in the navigation. On the domain settings page, you can click on "custom domain".

Then you have to enter the domain you created in netlify before in step three into the text field.
After that click on the update button.
If you clicked on the update button, you get redirected to a new overview page for your custom domain.

If one of the checkmarks is not green and still grey, you can click on refresh.
Note: After you added the new domain and the CNAME it can take up to 24 hours for your changes to be applied.
This is how you connect your domain which you bought on Netlify to your Hashnode blog.