Custom domain configuration
ancashoria
HOBBYOP

2 months ago

Hi,

I'm trying to add a custom domain to my website, but for some reason, the setup instructions are wrong.

I want to link my site to the domain www.vannisis.ro (note that the www is mandatory and not an error). Because I first tried to configure vannisis.ro directly instead of www.vannisis.ro, the Railway UI keeps displaying the setup instructions for vannisis.ro (non www) and insists they are not setup correctly.

It waits for me to setup the record

CNAME @ some.railaway.url

but I want to setup

CNAME www some.railaway.url

I know this is possible because I have it setup for another site here in Railway.

So, what can I do to fix this issue? Can I contact railway somehow?

Solved$10 Bounty

6 Replies

Railway
BOT

2 months ago

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

Status changed to Open Railway about 2 months ago


ancashoria
HOBBYOP

2 months ago

I'm using a romanian registrar (hostico.ro). The point I'm trying to make is that because I first tried to link the domain vannisis.ro to my site, it gave me the instructions for that, but when I removed it and added www.vannisis.ro, it keeps displaying the original records (@ field instead of www). I'm asuming it's a bug since when I add a different domain like www.somethingnew.ro it displays the right instructions

Screenshot 2026-06-24 at 4.25.28 PM.png

Screenshot 2026-06-24 at 4.26.44 PM.png


ancashoria
HOBBYOP

2 months ago

I even deleted my project and recreated it from scratch and it still displays the wrong DNS configuration! I am stuck


ancashoria
HOBBYOP

2 months ago

I gave it 24 hours and now it shows the right setup instructions. Thanks.


ancashoria
HOBBYOP

2 months ago

Only the TXT for now, I'm still waiting for the CNAME to propagate. It still see's the Vercel CNAME record. I have checked it with https://dnschecker.org/ and it's propagated, so I guess I have to wait for Railway to pick it up too.


ancashoria
HOBBYOP

2 months ago

It turns out I updated my domain too many times trying to resolve the issue and I was rate limited by LetsEncrypt and now I have to wait up to a week before I try again.


sarakmacbook
FREE

2 months ago

Here are the steps to fix this:

Option 1: Remove and re-add the domain (Recommended)

In Railway, go to your service → Settings → Domains

Delete/remove the current vannisis.ro custom domain entry entirely

Wait a minute or two (Railway's cache needs time to clear)

Re-add the domain, but this time explicitly type www.vannisis.ro in the input field

Railway should now generate the correct CNAME instructions: CNAME www → some.railway.app

Important: Make sure you type the www. prefix when adding it. Don't let Railway auto-suggest or auto-correct it to the apex domain.

Option 2: If Railway won't let you delete it

Sometimes the UI gets into a state where:

It shows the domain as "not configured correctly"

The delete button is hidden or unresponsive

In that case:

Try hard refreshing the Railway dashboard (Ctrl/Cmd + Shift + R)

Or try adding www.vannisis.ro as a second domain entry first — Railway often allows multiple domains, and the new entry should show the correct www CNAME instructions

Once the www version is working, you can remove the problematic apex domain entry

Option 3: Contact Railway support

If the UI is completely stuck and won't let you modify the domain:

Discord: Railway's community support is very active — join discord.gg/railway and ask in #help or #general

Email: support@railway.app

Status/Help Center: help.railway.app

When contacting them, mention:

"I'm trying to add www.vannisis.ro but the UI is stuck showing CNAME instructions for the apex domain vannisis.ro (which I tried first). I need the CNAME target for www but can't get the UI to refresh. Can you clear the cached domain config?"

Quick check: Is your DNS already correct?

If you've already set up CNAME www some.railway.app in your DNS provider, the domain might actually already be working — Railway's UI just isn't recognizing it because it's looking for the apex domain record. Try visiting https://www.vannisis.ro directly to see if it loads.

Which option would you like to try first? If the UI is being particularly stubborn, I'd go with Option 1 (delete → wait → re-add with www.) or jump straight to Discord support — they're usually very responsive for these kinds of UI edge cases.


Status changed to Solved 0x5b62656e5d about 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...