a year ago
I'm encountering an issue where my site cannot be reached after deploying to Railway, even though I've set up a custom domain and the necessary environment variables. Here's the situation:
Issue Description:
After deploying my Node.js and Express application to Railway, I attempted to access it using my custom domain. However, I'm receiving a "Site can't be reached" error.
It seems that the deployment is not properly routing to my custom domain.
Deployment Details:
My application is deployed on Railway and works correctly when accessed via the default Railway-provided domain.
The custom domain has been set up in the Railway dashboard, and DNS settings have been configured according to Railway's guidelines.
Environment Variables:
I have set the following environment variables in Railway:
DOMAIN_CLIENT
: The URL of my custom domain.PORT
: Set to Railway's dynamic port, or I've allowed Railway to set this automatically.
6 Replies
a year ago
Hello,
I did have an active deployment up yet it does not go to my custom domain. I just replaced all the Railway provided domains in my application to my custom domain and followed the instruction to go my domain registrar to setup the DNS.
Status changed to Solved brody • 11 months ago
Status changed to Open byteda • 11 months ago
a year ago
I do have services in a working state now.
a year ago
Please see this docs page - https://docs.railway.app/guides/public-networking#provider-specific-instructions
a year ago
Thank you so much, it finally works!!