Redirecting to a Root Domain (Google Domain)
I have a NextJS app deployed on railway and I would like to set up a custom domain to access my app from my google ROOT domain.
I can redirect my app to
https://www.mydomaine.com
, but not to https://mydomain.com
Any idea how to proceed?Solution:Jump to solution
Google Domains doesn't support CNAME on the root of your domain
you can use Cloudflare as a nameserver instead, this will allow you to add a CNAME on root, I have a tutorial on that here: https://discord.com/channels/713503345364697088/1184564652898779256/1184566739539873803
the tutorial was made for someone that was using GoDaddy but same applies to Google Domains...
5 Replies
Project ID:
190f9aa2-c8b3-46dd-a046-6fe955ffb230
190f9aa2-c8b3-46dd-a046-6fe955ffb230
Solution
Google Domains doesn't support CNAME on the root of your domain
you can use Cloudflare as a nameserver instead, this will allow you to add a CNAME on root, I have a tutorial on that here: https://discord.com/channels/713503345364697088/1184564652898779256/1184566739539873803
the tutorial was made for someone that was using GoDaddy but same applies to Google Domains
Got it, thanks for your reply
I will take a look at this!
Awesome, good luck