10 months ago
Hi,
I added a custom domain yesterday,
added the CNAME, an pointed to the what I got from railway.
However when I try to go to the domain, it shows the Railway 404 Error.
I'm with Bluehost.
Any advice?
Pinned Solution
10 months ago
Are you pointing example.com or www.example.com?
You can’t use a CNAME on the root domain. Add the CNAME for www.example.com first, then redirect example.com to www.example.com in Bluehost.
4 Replies
10 months ago
Are you pointing example.com or www.example.com?
You can’t use a CNAME on the root domain. Add the CNAME for www.example.com first, then redirect example.com to www.example.com in Bluehost.
query
Are you pointing `example.com` or `www.example.com`? You can’t use a CNAME on the root domain. Add the CNAME for `www.example.com` first, then redirect `example.com` to `www.example.com` in Bluehost.
10 months ago
That's only true for some providers. Cloudflare provides flattening, which allows you to point the apex domain at a CNAME record.
Also, I'm pretty sure if a domain wasn't pointing to anything, the browser would return some NXDOMAIN error instead of a 404.
10 months ago
The issue is resolved now.
The problem was related to the domain itself.
I put the domain in Railway without the www
Thank you, everyone, for your support, and thank you, @kurucaner
Status changed to Solved brody • 10 months ago
Status changed to Open chandrika • 10 months ago
