2 months ago
Hello,
My application, deployed under the service name totalcuadreras, is experiencing an issue with a custom domain.
Custom Domain: https://[www.totalcuadreras.com](www.totalcuadreras.com)
Railway Public URL: https://[5ph21viv.up.railway.app](5ph21viv.up.railway.app) (This URL works correctly).
Problem: Accessing the custom domain results in an "Application failed to respond" error page (Request ID: ZQKUW6jASqZMsnoEPvyhXg - puedes añadir uno más reciente si lo tienes).
Diagnostics Performed:
The application's deploy logs show successful starts and 200 OK responses to health checks.
The DNS CNAME record for www.totalcuadreras.com is correctly pointing to 5ph21viv.up.railway.app and has fully propagated worldwide.
The Django ALLOWEDHOSTS and CSRFTRUSTED_ORIGINS settings are correctly configured to accept traffic from both domains.
The service metrics show ingress traffic when the custom domain is accessed.
All evidence suggests the application is running correctly but the Railway network layer is not routing traffic from the custom domain to the container. Could you please investigate a potential issue with the load balancer or routing for this specific domain?
Thank you.
2 Replies
2 months ago
I just checked with
https://toolbox.googleapps.com/apps/dig/#CNAME/
and it doesn’t find the CNAME
2 months ago
Hi there,
It seems you have everything configured correctly for the domain, and I can see the CNAME on Google Admin Toolbox - https://toolbox.googleapps.com/apps/dig/#CNAME/
However, when I try to access Railway's public URL https://5ph21viv.up.railway.app/, I get the following error:
Navigating to https://www.totalcuadreras.com/ also gives this error:
Would you please check your Railway network settings and confirm if your app is listening on the correct port? You'll find this documentation to be helpful - Application Failed to Respond
Attachments
2 months ago
I think you missed the part adding the correct port under custom domain.
2 months ago
Hey there, still need some help? <:salute:1137099685417451530>
Sorry, thanks for the help. Someone else solved the problem. I sent them your help; thank you for your time and attention. I don't have the technical knowledge to explain the solution.