Isaac Tait
Isaac Tait's Blog

Isaac Tait's Blog

Setting up a Hashnode blog with AWS Route 53

Setting up a Hashnode blog with AWS Route 53

After a bit of trial and error I was able to setup my Hashnode blog using AWS's Route 53. Below I have outlined the steps I followed to successfully deploy my Hashnode blog .

Step 1 - Enter your personal domain name

Step 1 copy.png After creating your Hashnode account you will need to setup your blog. Begin by clicking "Start my blog" in your account menu (click the account icon in the bottom left corner of the screen) then follow the onscreen instructions.

Step 2 - Choosing a domain option

Step 2 copy.png For this step I selected "🌎 I will use my domain" then click "Next"

Step 3 - Enter your domain name

Step 3 copy.png Enter your desired domain name then click "Next"

Step 4 - Map your domain to Hashnode

Step 4 copy.png This is where I struck out on my own a bit. Instead of setting the host to @ I set it to "blog". You will need to do this in AWS Route 53 so, do not worry about this step right now - I will cover this in more depth at step 8.

Go ahead and click "I've added the records"

Step 5 - Woohoo, almost there!

Step 5 copy.png Congratulations! Your blog is nearly setup, just a few more steps.

Step 6 - Open up the Hashnode blog dashboard

Step 6 copy.png Navigate to your blog's dashboard and select the "Domain" tab. It will open a window that looks like...

Step 7 - Update blog url via the Hashnode dashboard

Step 7 copy.png Where it says "Enter your domain name" enter blog.yourblogname.com. The key is to make sure blog is appended to the beginning of your domain name. Then click update.

Step 8 - Create CNAME record using AWS Route 53

Route 53.png Navigate to your AWS Dashboard and open Route 53. Select the domain you chose in Step 5 and create a new record following these steps:

  • Set the record name to "blog"

  • Value/Route traffic to should be set to "IP address or another value...."

  • Make sure in the text box you add "hashnode.network"

  • Record type is CNAME

  • TTL I left at default, which was 300

  • Routing policy I left at default, which was Simple routing

Step 9 - Enjoy your new blog

While AWS and Hashnode say it could take 24 hours for the changes to propagate my domain mapping was almost instantaneous.

If you have any questions or run into any problems feel free to reach out in the comments below or contact me directly here

 
Share this