404 ERROR after linking django project (Railway) to custom domain (Squarespace) through Cloudflare?
I followed the following guides and correctly changed the DNS and Nameservers on my squarespace domain to point to Cloudflare:
https://docs.railway.app/guides/public-networking
https://developers.cloudflare.com/support/third-party-software/others/configure-cloudflare-and-heroku-over-https
https://developers.cloudflare.com/dns/zone-setups/full-setup/setup
Afterwards, I connected my railway project to the Cloudflare dns records. And after all this I get a "Nothing here.. yet" screen and a 404 error for the site (rhhsmathclub.ca).
I'm really confused why I'm getting this error. The wildcard railway domain works but the custom domain doesnt. Am I missing something?
Solution:Jump to solution
I think it would serve to reason that domains that aren't in the public networking section aren't going to work correctly
18 Replies
Project ID:
b5ec6fda-8d61-4b84-9fc4-f466992321bc
b5ec6fda-8d61-4b84-9fc4-f466992321bc/service/65daed0c-f6ad-4576-a934-918bd24865e6
Am I missing something?yes please show me the public networking section of your railway service
@Brody mb for the delay
I've followed other similar posts on this help channel but my domain still isn't working but the railway prod domain works
can you send a clickable link to it?
the domain you do have listed into the public networking does work fine https://rhhsmathclub.ca/
Solution
I think it would serve to reason that domains that aren't in the public networking section aren't going to work correctly
So this is just a railway problem?
what other web hosting service would you recommend that doesnt have this issue?
is heroku any good?
this isn't an issue at all, you don't have the www subdomain in the public networking section, so of course it's not going to works
how do I add it?
upgrade to hobby to add two domains
I did this and changed the cloudflare dns record and it still doesnt work
www now does work for me
ohh I guess it just needed time to config
I'll mark this as solved
thanks for the help