dns cname
elbannageorge
FREEOP

11 days ago

it gave me cname : @ and go daddy have a prefixed value of @ so it doesnt work

$10 Bounty

21 Replies

Railway
BOT

11 days ago

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

Status changed to Open Railway 11 days ago


I'd recommend migrating to Cloudflare's DNS.

https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/


manuproject
HOBBY

11 days ago

cname cant exist at a domains root, thats a dns rule not a godaddy or railway bug, its because the root also needs SOA/NS records too

you can read it here : https://betterstack.com/community/questions/why-cant-cname-be-used-at-the-root-of-domain/

if you dont wanna switch dns providers: point www to railway with a cname, then use godaddy's domain forwarding to redirect your bare domain to www with a 301. only catch is the url bar will show www.yourdomain.com when someone visits the root


manuproject

cname cant exist at a domains root, thats a dns rule not a godaddy or railway bug, its because the root also needs SOA/NS records too you can read it here : https://betterstack.com/community/questions/why-cant-cname-be-used-at-the-root-of-domain/ if you dont wanna switch dns providers: point www to railway with a cname, then use godaddy's domain forwarding to redirect your bare domain to www with a 301. only catch is the url bar will show www.yourdomain.com when someone visits the root

elbannageorge
FREEOP

11 days ago

can u tell me how


elbannageorge

can u tell me how

You'd add the domain as www.<YOUR_DOMAIN> in Railway instead of just your domain.


You'd then create a forwarding rule in your dashboard.

https://www.godaddy.com/help/forward-my-godaddy-domain-12123

Although I'd recommend migrating to Cloudflare's DNS, as they also provide a vast amount of other features that may become useful.


manuproject
HOBBY

11 days ago

if you feel its kinda complicated i think you can follow the mod advise switching to cloudflare DNS


0x5b62656e5d

You'd add the domain as `www.<YOUR_DOMAIN>` in Railway instead of just your domain.

elbannageorge
FREEOP

11 days ago

now i made it and it worked on go daddy but now it still when i type www. it still dont work


Can you define "still doesn't work"?


elbannageorge

now i made it and it worked on go daddy but now it still when i type www.<domain> it still dont work

manuproject
HOBBY

11 days ago

can you share a screenshot that will make us understand better what you trying to explain


manuproject
HOBBY

11 days ago

did you also add www.yourdomain.com as a custom domain inside railway itself (service settings → networking → domains)? the godaddy cname only handles dns, railway still needs to know that hostname belongs to your service or it'll reject the request even if dns is pointing correctly


0x5b62656e5d

Can you define "still doesn't work"?

elbannageorge
FREEOP

11 days ago

IMG_3619.jpeg

Attachments


elbannageorge

![IMG_3619.jpeg](https://station-server.railway.com/attachments/att_01kzp26pwwfevb2yfys5wskttf)

elbannageorge
FREEOP

11 days ago

IMG_3620.jpeg

Attachments


Did you add the CNAME and TXT record to Godaddy?


manuproject

did you also add www.yourdomain.com as a custom domain inside railway itself (service settings → networking → domains)? the godaddy cname only handles dns, railway still needs to know that hostname belongs to your service or it'll reject the request even if dns is pointing correctly

elbannageorge
FREEOP

11 days ago

Yes i did


0x5b62656e5d

Did you add the CNAME and TXT record to Godaddy?

elbannageorge
FREEOP

11 days ago

Yes i did this


Can you show a screenshot of your DNS page?

I wasn't able to find any DNS records associated with the domain you're using.


0x5b62656e5d

Can you show a screenshot of your DNS page? I wasn't able to find any DNS records associated with the domain you're using.

elbannageorge
FREEOP

11 days ago

IMG_3621.jpeg

Attachments


I'd check if your domain was typed correctly. I'm not able to find anything on el-banna.store, let alone www.el-banna.store.


elbannageorge

![IMG_3621.jpeg](https://station-server.railway.com/attachments/att_01kzp36canecz9180ppr47rn97)

manuproject
HOBBY

11 days ago

check inside railway and see if its correspond


manuproject

check inside railway and see if its correspond

elbannageorge
FREEOP

11 days ago

They are the same in both


elbannageorge

They are the same in both

manuproject
HOBBY

11 days ago

try to copy and paste from godaddy direct to railway dont type it manually

also check the mod is saying they cant find any dns records of the doman re-verify


Welcome!

Sign in to your Railway account to join the conversation.

Loading...