3 months ago
Hi Railway Team,
I’m experiencing a DNS issue with my project:
Project name: lunch_app
Old domain:lunchapp-production.up.railway.app
New domain (after creating a new project):lunchapp-production-7be5.up.railway.app
Internal domain: lunch_app.railway.internal
Port: 8080 (Metal Edge)
Problem:
The app is running and logs are showing activity (including Slack event webhooks).
However, the public domain(s) do not resolve from anywhere (tested with curl, nslookup, dig).
Error: DNS_PROBE_FINISHED_BAD_CONFIG and server can't find ...: REFUSED
This happens even after creating a brand new Railway project from the same repo.
What I’ve tried:
Redeploying the project
Creating a new project (new domain)
Waiting for DNS propagation
Request:Please investigate the DNS/Metal Edge configuration for my project.
Is there a known issue with new domains not resolving?
Is there a workaround or can you force a DNS refresh?
3 Replies
3 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 chandrika • 3 months ago
mtslmdcnc637
Dude, this DNS_PROBE_FINISHED_BAD_CONFIG issue is super annoying! From what u described, ur app is running fine (logs OK, webhooks working), but the public domains aren't resolving. Classic Metal Edge or Railway DNS problem.Here's what usually fixes it:First, double-check if port 8080 is actually being used - sometimes Railway expects u to use the $PORT variable they inject. In ur code, try using process.env.PORT || 8080 (if Node) or equivalent in ur language.Check if there's any HTTP → HTTPS redirect happening that might be confusing the Metal Edge.Force a complete redeploy - not just redeploy, but change something in the code (like a comment) to force a total rebuild.Test the internal domain - curl lunch_app.railway.internal:8080 from inside another service to see if the issue is only with the public edge.If nothing works, hit up Railway's Discord - they're pretty active there and DNS/Metal Edge issues usually need manual intervention from their team.The fact that u created a new project and the problem persisted suggests it might be a bug on their end. On Discord, send them the Project ID and they can investigate the backend stuff.
3 months ago
Thanks for pointing out that Railway sometimes expects to use the injected PORT variable
3 months ago
Are you using Custom Domains, rameeskv0?
3 months ago
Same issue I am facing.