Custom domain waggrr.com routing to Railway subdomain
waggrr-kcw
HOBBYOP

4 months 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?

Solved$10 Bounty

Pinned Solution

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).

3 Replies

Railway
BOT

4 months ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • 4 months ago


You shouldn’t have an A record. Only CNAME/ALIAS.


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).


waggrr-kcw
HOBBYOP

4 months 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?"


Status changed to Solved 0x5b62656e5d • about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...