How to use a GoDaddy domain with Hashnode
One of the appealing things about Hashnode is that it lets you set up a blog on your own custom domain with minimal setup. Hashnode gives you instructions on how to set up your custom domain DNS records to point to your Hashnode blog. However, if you register your domains through GoDaddy, you'll quickly find that the default instructions do not work.
Hashnode tells you to
add a CNAME record where the host name is @ and the corresponding value is hashnode.network
However, GoDaddy doesn't let you set a hostname of "@" for CNAME records, so this method doesn't work. Instead, we have to use the alternative option
you can add an A record at the root whose value is 126.96.36.199
The steps below will show you how to achieve this on GoDaddy 👇
Using a custom GoDaddy domain on Hashnode
First you need to set up your blog on Hashnode to expect a custom domain. You do this by going to the Blog Dashboard page in Hashnode and clicking on the domains tab. Click to use a custom domain, enter you custom domain address, and click update.
Next, you want to log in to your GoDaddy account and navigate to the Manage your Domains section. Then go down to your relevant domain and click on Manage DNS
From here you should be able to see a list of DNS records. You should start by removing any existing A records (records that are listing as have a type of "A"). Then create a new record with the host(name) of
@ and points to (value) of
188.8.131.52. The default TTL value should be fine.
And that's it! After a few minutes, navigate to your domain in your browser and you should see your Hashnode blog there. 🎉🎉🎉