Subject: Custom Domain Not Working - remedykitchen.pro
mallelarahul
PROOP

2 months ago

Hello,

I registered a custom domain remedykitchen.pro through Railway and added it to my Node.js project. However, the custom domain is not working.

Here's the situation:

- Domain: remedykitchen.pro

- DNS Status: Fully propagated (all 239 global servers show green on whatsmydns.net)

- CNAME Record: abc123.up.railway.app → Correctly set

- Custom Domain Port: 3000

- Project: remedykitchen (production environment)

Issues:

- https://remedykitchen.pro → Shows SSL certificate error (net::ERR_CERT_COMMON_NAME_INVALID)

- http://remedykitchen.pro → Connection refused

- https://remedykitchen-production.up.railway.app → Works perfectly ✓

The app is running fine on the Railway domain, but the custom domain returns connection errors. I've already tried:

1. Disconnecting and reconnecting the domain

2. Clearing browser cache and trying incognito mode

3. Waiting 30+ minutes for certificate issuance

Can you help me troubleshoot this custom domain routing issue?

Thank you,

Rahul Mallela

Solved$10 Bounty

Pinned Solution

ilyass012
FREE

2 months ago

hey rahul, the ERR_CERT_COMMON_NAME_INVALID means railway hasn't issued the ssl cert for your domain yet — it's still serving the *.up.railway.app cert instead of one for remedykitchen.pro. check what status your domain shows in the railway dashboard under settings → public networking → custom domains. if it's not showing a green checkmark, try removing the domain from railway completely and re-adding it

5 Replies

Railway
BOT

2 months ago

Your custom domain has two DNS issues preventing the certificate from issuing. First, your CNAME record points to abc123.up.railway.app but it needs to point to f32krka3.up.railway.app. Second, you're missing the required TXT verification record: add a TXT record with host _railway-verify and value railway-verify=252677d9655e989db95a0b05aedcc0f17be8c5ccdb1373136da73e217255fb96. Once both records are corrected and propagated, the SSL certificate will issue automatically.


Railway
BOT

2 months ago

This thread has been marked as private. Any further activity in this thread will only be visible to you and Railway employees.

Status changed to Awaiting User Response Railway about 2 months ago


Railway
BOT

2 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 Railway about 2 months ago


ilyass012
FREE

2 months ago

hey rahul, the ERR_CERT_COMMON_NAME_INVALID means railway hasn't issued the ssl cert for your domain yet — it's still serving the *.up.railway.app cert instead of one for remedykitchen.pro. check what status your domain shows in the railway dashboard under settings → public networking → custom domains. if it's not showing a green checkmark, try removing the domain from railway completely and re-adding it


mallelarahul
PROOP

2 months ago

"Domain shows GREEN status but still says

'Waiting for DNS to propagate' in Networking section.

DNS is fully propagated globally (confirmed on whatsmydns.net).

But traffic still doesn't route to the app."


mallelarahul
PROOP

2 months ago

Subject: Custom Domain Not Routing - remedykitchen.pro

Domain shows GREEN in Railway settings.

DNS is 98% propagated globally (only 2 servers pending).

Both CNAME and TXT records are correct.

But traffic is NOT routing to my app:

- http://remedykitchen.pro → Connection error

- https://remedykitchen.pro → SSL error

The Railway domain works fine:

Please check why the custom domain isn't routing despite showing GREEN status.


ilyass012
FREE

2 months ago

since your domain is green but still not routing, the most likely issue is that remedykitchen.pro is a root/apex domain. railway requires your dns provider to support cname flattening or alias records at the root level , a regular cname at the apex won't route traffic correctly even if it shows as propagated. can you tell us which registrar/dns provider you're using? some providers don't support this and the fix is either switching dns to cloudflare (free plan works) which supports cname flattening, or using www.remedykitchen.pro as a subdomain instead. that's the most common cause of this exact symptom , green in railway but traffic not routing


Status changed to Solved brody about 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...