Map railways service to godaddy root domain

rip32700PRO

3 months ago

I have a nextjs app that I have deployed on Railways. My domain that I bought (let's say myapp.com) is on GoDaddy. I want to map the railway service to my root domain, so to myapp.com. When I add a custom domain in the service settings on railway, it shows me to add CNAME record on GoDaddy with a @ as the name. That's not allowed on GoDaddy though. I also tried adding "www.myapp.com" instead on railway, but then it shows a warning Incorrect value "myapp.com". Can somebody help to resolve?

Awaiting User Response

3 Replies

3 months ago

Hello,

Since GoDaddy does not support CNAMEs at the root you would need to use Cloudflare's nameservers as they do support it.


Status changed to Awaiting User Response railway[bot] 3 months ago


rip32700PRO

3 months ago

Hi Brody, can you give me a bit more explanation as to what you mean? Use cloudflare as an additional service?


Status changed to Awaiting Railway Response railway[bot] 3 months ago


3 months ago

Hello,

Use Cloudflare's nameservers in place of GoDaddy's nameservers, Cloudflare has a guide for that here -

https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/


Status changed to Awaiting User Response railway[bot] 3 months ago