Redirecting to a Root Domain (Google Domain)

hugotesseraPRO

a year ago

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](https://www.mydomaine.com), but not to [https://mydomain.com](https://mydomain.com)
Any idea how to proceed?

0 Replies

hugotesseraPRO

a year ago

190f9aa2-c8b3-46dd-a046-6fe955ffb230


a year ago

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


hugotesseraPRO

a year ago

Got it, thanks for your reply
I will take a look at this!


a year ago

Awesome, good luck