a month ago
Custom domain waggrr.com routing to Railway subdomain instead of my app
My setup:
Custom domain waggrr.com added in Railway, shows green tick, port 8080
Railway subdomain waggrr-production.up.railway.app works perfectly on port 8080
Hostinger DNS has: A @ 145.223.108.128 and ALIAS @ e581f1dy.up.railway.app
No Cloudflare involved
Problem: When I visit waggrr.com and click any link, it redirects to waggrr-production.up.railway.app
What should my Hostinger DNS look like — only the A record, only the ALIAS, or both?
3 Replies
a month ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • about 1 month ago
a month ago
Also, make sure nothing inside of your application is trying to redirect you to the pregenerated URL (this could also be caused by environment variables).
a month ago
"waggrr.com is added as custom domain with green tick on port 8080. nslookup waggrr.com returns 145.223.108.128. But waggrr.com does not route to my app — it falls back to waggrr-production.up.railway.app. ALIAS record e581f1dy.up.railway.app is set in DNS. Why is the edge router not matching my hostname?"