DEV Community

Chetan Dhongade
Chetan Dhongade

Posted on

Setting Up a Custom Domain with AWS Amplify Without Using AWS Route 53

1) Make sure you have your site deployed on AWS Amplify. For demonstration purposes, I have deployed a simple index.html page with the content shown below.

Website sample

2) Go to the Hosting section in the sidebar, where you will see the Custom Domain option. Click on it, and then click on Add Domain.

Aws amplify histing section

3) On the Add Domain screen, enter the domain or subdomain name. After that, select Manual configuration and click on the Configure domain button.

Adding custom domain in aws amplify

4) On the next screen, keep everything at the default settings and click on Add Domain.

Check app aws amplify

5) Wait for 5 minutes, and you will receive 3 CNAMEs that you need to set in your domain's DNS manager.

CNAME screen AWS amplify

CNAME set waiting

6) My domain registrar is Porkbun, and I have set the CNAMEs as follows:

Porkbun DNS management screen

7) You may need to wait a few minutes for DNS propagation, depending on your domain registrar. In my case, it took just 3 minutes.

wait screen aws amplify

8) After that, the domain activation process will begin, and within 7-10 minutes, you will be able to visit the site using your custom domain. In my case, it was https://app.davesidewalk.com.

Domain activation completed

site with custom domain

Once the domain activation is complete, your custom domain will be fully functional. You can now access your site seamlessly with your new domain. If you face any issues, ensure the DNS settings are correct and allow time for propagation. Enjoy using your custom domain with AWS Amplify!

Top comments (0)