R
Railway9mo ago
vicdenZ

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:
I think it would serve to reason that domains that aren't in the public networking section aren't going to work correctly
Jump to solution
18 Replies
Percy
Percy9mo ago
Project ID: b5ec6fda-8d61-4b84-9fc4-f466992321bc
vicdenZ
vicdenZOP9mo ago
b5ec6fda-8d61-4b84-9fc4-f466992321bc/service/65daed0c-f6ad-4576-a934-918bd24865e6
Brody
Brody9mo ago
Am I missing something?
yes please show me the public networking section of your railway service
vicdenZ
vicdenZOP9mo ago
@Brody mb for the delay
vicdenZ
vicdenZOP9mo ago
No description
vicdenZ
vicdenZOP9mo ago
No description
vicdenZ
vicdenZOP9mo ago
I've followed other similar posts on this help channel but my domain still isn't working but the railway prod domain works
Brody
Brody9mo ago
can you send a clickable link to it?
Brody
Brody9mo ago
the domain you do have listed into the public networking does work fine https://rhhsmathclub.ca/
Solution
Brody
Brody9mo ago
I think it would serve to reason that domains that aren't in the public networking section aren't going to work correctly
vicdenZ
vicdenZOP9mo ago
So this is just a railway problem? what other web hosting service would you recommend that doesnt have this issue? is heroku any good?
Brody
Brody9mo ago
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
vicdenZ
vicdenZOP9mo ago
how do I add it?
Brody
Brody9mo ago
upgrade to hobby to add two domains
vicdenZ
vicdenZOP9mo ago
I did this and changed the cloudflare dns record and it still doesnt work
No description
Brody
Brody9mo ago
www now does work for me
vicdenZ
vicdenZOP9mo ago
ohh I guess it just needed time to config I'll mark this as solved thanks for the help
Want results from more Discord servers?
Add your server