6 months 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
6 months 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 • 6 months ago
6 months 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
6 months 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
6 months ago
Are you sure you have both pointing to the same port? The domain is resolving just fine.
6 months ago
Also, accessing es5tytqs.up.railway.app does not work for me.
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
6 months ago
it might need a few hours for DNS to update
6 months ago
CloudFlare tends to be instant - 5 minutes. And the domain is resolving totally fine.
samgordon
Also, accessing es5tytqs.up.railway.app does not work for me.
6 months 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.
6 months ago
Can you screenshot the whole domains section of your service's settings page?
6 months 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?
samgordon
Can you screenshot the whole domains section of your service's settings page?
6 months ago
Ok. Attached.
Attachments
murayaj
Ok. Attached.
6 months ago
Right, okay. Your port appears to be missing. Can you click the little edit icon next to your custom domain and screenshot that?
samgordon
Oh, your app is working now! What did you change?
6 months 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 • 6 months ago
