Domain not pointing to Railway after DNS migration
nikhilmohanv
HOBBYOP

a month ago

I migrated my site from Vercel to Railway and updated the DNS records in Namecheap approximately 9 hours ago, but the domain is still pointing to the Vercel server instead of Railway.
Domain: https://startupgrantsindia.com/

What I did:
Removed Vercel's nameservers from Namecheap
Added Railway's DNS records (A record/CNAME - specify which one you added)

Current issue:
The domain still resolves to Vercel's servers
Vercel logs show traffic is still being received
Railway dashboard shows domain status as active (attached a screenshot)

Railway deployment URL: startupgrantsindia-production.up.railway.app (it works correctly)

Thank you

image.png

Attachments

Solved

5 Replies

I can access it just fine. Have you tried clearing your local DNS cache and/or setting your browser’s DNS servers to 1.1.1.1?


nikhilmohanv
HOBBYOP

a month ago

I found the issue - I had only configured startupgrantsindia.com in Railway, but not the www.startupgrantsindia.com subdomain. I've now added the www subdomain to Railway and am waiting for DNS propagation.

One follow-up question: How can I set up a redirect from the non-www domain to the www domain (startupgrantsindia.com → www.startupgrantsindia.com) in railway?

Thanks again!


You can do so via nginx or Cloudflare rules.


nikhilmohanv
HOBBYOP

a month ago

thank you. I added the redirection via nextjs next.config.mjs file


Or that yeah.


Status changed to Solved brody about 1 month ago


Loading...