3 days ago
Hi Railway Support,
I'm experiencing an issue with setting up my custom domain for my application hosted on Railway. Despite the domain resolving correctly, the application fails to respond.
Issue Details:
Error Message:Application failed to respond – This error appears to be caused by the application.
Logs: No errors detected. The app is running properly without any issues.
Domain Registration: Cloudflare (atlanettrading.com)
Subdomain Setup: CNAME record (
app.atlanettrading.com → es5tytqs.up.railway.app
)Proxy Status: DNS Only (Cloudflare Proxy Disabled)
TTL Setting: Auto
DNS Propagation: Verified globally (Green ticks across all server locations)
SSL/TLS Encryption Mode: Full
Troubleshooting Steps Taken:
Checked deployment logs—no errors found.
Confirmed DNS propagation globally using a DNS checker.
Verified Cloudflare settings (proxy disabled, proper SSL mode).
Tested accessing
es5tytqs.up.railway.app
directly—it loads correctly. Flushed the local DNS cache and tried different networks/devices.
Despite all these confirmations, app.atlanettrading.com
still fails to respond, while the domain provided by the Railway works fine. Could you provide guidance on any additional settings or checks required within Railway for proper custom domain routing?
Thank you
13 Replies
3 days ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 3 days ago
a day ago
Hi there
i think your CNAME name should only be `app` and the target like you have it and also the Cloudflare proxy should be enabled
let me know how it goes
thanks
alex
alexwebgr
Hi therei think your CNAME name should only be `app` and the target like you have it and also the Cloudflare proxy should be enabledlet me know how it goesthanksalex
a day ago
Hi Alex,
Yes, nothing else added. Just the word 'app'
Type: CNAME
Name: app
Content: es5tytqs.up.railway.app
Proxy Status: DNS Only
TTL Setting: Auto
Still not working
a day ago
Are you sure you have both pointing to the same port? The domain is resolving just fine.
murayaj
Hi Alex,Yes, nothing else added. Just the word 'app'Type: CNAMEName: appContent: es5tytqs.up.railway.appProxy Status: DNS OnlyTTL Setting: AutoStill not working
a day ago
it might need a few hours for DNS to update
a day ago
CloudFlare tends to be instant - 5 minutes. And the domain is resolving totally fine.
loudbook
Also, accessing es5tytqs.up.railway.app does not work for me.
a day ago
Kindly elaborate on 'Are you sure you have both pointing to the same port?" How do I check?
Also "Also, accessing es5tytqs.up.railway.app
does not work for me" is provided by the Railway when setting up a custom domain.
murayaj
Kindly elaborate on 'Are you sure you have both pointing to the same port?" How do I check?Also "Also, accessing es5tytqs.up.railway.app does not work for me" is provided by the Railway when setting up a custom domain.
a day ago
Can you screenshot the whole domains section of your service's settings page?
a day ago
@loudbook do you mean that the generated domain and the custom domain should have the same port?
the app https://app.atlanettrading.com/ returns a 500 which means it is reaching the app, maybe the server is down?
loudbook
Can you screenshot the whole domains section of your service's settings page?
a day ago
Ok. Attached.
Attachments
murayaj
Ok. Attached.
a day ago
Right, okay. Your port appears to be missing. Can you click the little edit icon next to your custom domain and screenshot that?
loudbook
Oh, your app is working now! What did you change?
a day ago
The issue was that the port was not set well. I cleared everything and made a new setup. It has worked.
Thank you.
Status changed to Solved brody • about 23 hours ago