404 ERROR after linking django project (Railway) to custom domain (Squarespace) through Cloudflare?
vicdenz
TRIALOP

2 years ago

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?

21 Replies

vicdenz
TRIALOP

2 years ago

b5ec6fda-8d61-4b84-9fc4-f466992321bc/service/65daed0c-f6ad-4576-a934-918bd24865e6


brody
EMPLOYEE

2 years ago

Am I missing something?
yes

please show me the public networking section of your railway service


vicdenz
TRIALOP

2 years ago

@Brody mb for the delay


vicdenz
TRIALOP

2 years ago

1218961616872276000


vicdenz
TRIALOP

2 years ago

1218962004665045000


vicdenz
TRIALOP

2 years 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
EMPLOYEE

2 years ago

can you send a clickable link to it?


vicdenz
TRIALOP

2 years ago


brody
EMPLOYEE

2 years ago

the domain you do have listed into the public networking does work fine


brody
EMPLOYEE

2 years 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
TRIALOP

2 years ago

So this is just a railway problem?


vicdenz
TRIALOP

2 years ago

what other web hosting service would you recommend that doesnt have this issue?


vicdenz
TRIALOP

2 years ago

is heroku any good?


brody
EMPLOYEE

2 years 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
TRIALOP

2 years ago

how do I add it?


brody
EMPLOYEE

2 years ago

upgrade to hobby to add two domains


vicdenz
TRIALOP

2 years ago

I did this and changed the cloudflare dns record and it still doesnt work

1218970705383788800


brody
EMPLOYEE

2 years ago

www now does work for me


vicdenz
TRIALOP

2 years ago

ohh I guess it just needed time to config


vicdenz
TRIALOP

2 years ago

I'll mark this as solved


vicdenz
TRIALOP

2 years ago

thanks for the help


Loading...