Custom domain stuck in "Validating domain ownership" state
pownyhof
HOBBYOP

5 months ago

My project ID is f7aebe63-670a-4d3f-8838-c077e0b7ce52

I enabled a custom domain. I configured everything correctly at namecheap and confirmed using the dig command:

dig TXT _railway-verify.dyehype.com

; <<>> DiG 9.10.6 <<>> TXT _railway-verify.dyehype.com

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38977

;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 512

;; QUESTION SECTION:

;_railway-verify.dyehype.com. IN TXT

;; ANSWER SECTION:

_railway-verify.dyehype.com. 1799 IN TXT "railway-verify=fbd3b3f56372b5c3aebaac5401c99aa9ff2bf8710cd5079c114ce61caf8368b0"

;; Query time: 33 msec

;; SERVER: 192.168.178.1#53(192.168.178.1)

;; WHEN: Sun Feb 08 12:54:48 CET 2026

;; MSG SIZE rcvd: 148

However, Railway is stuck at the "Validating domain ownership" state, and when I visit my custom domain, it says "The website is not available".

I already tried to delete the custom domain and re-add it.

Please help!

Solved$10 Bounty

Pinned Solution

5 months ago

You added the record for dehype.com.

For www.dehype.com, you need to add one more domain in railway. It would give you a CNAME records which you need to add in namecheap

Note - website.come & www.website.com are considered as separate domains

9 Replies

5 months ago

Can you please share some ss showing the CNAME and the value provided by railway & where you added in namecheap?


snugglepilot
PRO

5 months ago

I ran into this as well. Namecheap specifically needs a slightly different formatted TXT field. instead of _railway-verify.dyehype.com, put in _railway-verify . namecheap auto-appends the domain name.


congdv
HOBBY

5 months ago

If we use Namecheap you can use the way that @snugglepilot mentioned above. For me, to avoid this issue, I set up cloudflare with namecheap first by adding cloudflare dns to namecheap, and then using one-click DNS setup with cloudflare

I found this way is very simple and you don't have to worry any mistake when you setup with this.

Hope railway can have one-click DNS setup to namecheap in the future.

Attachments


pownyhof
HOBBYOP

5 months ago

Thanks for all the answers. I already changed from _railway-verify.dyehype.com to only _railway-verify, then the status changed to "Validating domain ownership", can't remember what it was before.

But also railway by now shows only _railway-verify.

and i don't have the cloudflare connect button.

Attachments


pownyhof
HOBBYOP

5 months ago

namecheap:

Attachments


pownyhof
HOBBYOP

5 months ago

By now it shows a green checkmark for the TXT record as well. But on https://www.dyehype.com browser still shows "The website is not available"

Attachments


5 months ago

You added the record for dehype.com.

For www.dehype.com, you need to add one more domain in railway. It would give you a CNAME records which you need to add in namecheap

Note - website.come & www.website.com are considered as separate domains


heimdall

You added the record for [dehype.com](http://dehype.com). For www.dehype.com, you need to add one more domain in railway. It would give you a CNAME records which you need to add in namecheap Note - website.come & [www.website.com](http://www.website.com) are considered as separate domains

pownyhof
HOBBYOP

5 months ago

Thanks a lot! Works now (:


pownyhof

Thanks a lot! Works now (:

5 months ago

Greatt, happy building 💯


Status changed to Solved brody 5 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...