R
Railway2y ago
samim

domain issue

I have brought the domain from cloudflare and attach to the railway.SSL is working fine , It works without wwe, useing domain with wwe site doesn't work. Can you please or guide how to work wwe version
31 Replies
Percy
Percy2y ago
Project ID: N/A
MantisInABox
MantisInABox2y ago
If you want the www subdomain to work, you will need to create it and point it to your root domain
samim
samimOP2y ago
How to create? can you guide me?
MantisInABox
MantisInABox2y ago
You would add it in your dns records, just like you created the @ record for your domain
samim
samimOP2y ago
can you please give me the record structure , what should be the structure? I have added but seems not working
MantisInABox
MantisInABox2y ago
subdomain would be www, the destination would be your a record for the domain
samim
samimOP2y ago
samim
samimOP2y ago
current structure
samim
samimOP2y ago
samim
samimOP2y ago
In which part what should I enter
MantisInABox
MantisInABox2y ago
Type would be cname, name would be www and the destination would be the railway domain that is provided to you when you configure the custom domain But honestly, www isn’t necessary anymore It was just a subdomain that mapped to the main domain That’s why you can do www.something.com or just something.com
samim
samimOP2y ago
yes I know , still some people use this in URL thats the issue
samim
samimOP2y ago
MantisInABox
MantisInABox2y ago
You would add the custom domain with the www there on that page, then it will give you the cname configuration to utilize in cloudflare
samim
samimOP2y ago
is it ok?
MantisInABox
MantisInABox2y ago
Yeah, that should do it
MantisInABox
MantisInABox2y ago
If you click on your custom domain in railway, it should provide a shorter url to use
MantisInABox
MantisInABox2y ago
Like that The target should be what’s in the DNS record popup when you add the custom domain
samim
samimOP2y ago
I have added the previous record, is that ok? or I have to change the shorte value
MantisInABox
MantisInABox2y ago
I would use whatever value shows up in the dns configuration popup when you created the domain on your service
samim
samimOP2y ago
I could not get the shorter value , during adding new domain I have found this value but I forgot to reference it, now I have not that shorter value
MantisInABox
MantisInABox2y ago
So delete the domain from your railway service and add it again
samim
samimOP2y ago
how much time it will take to propagate, it's a running site, interruption may effect the experience
MantisInABox
MantisInABox2y ago
Cloudflare is usually pretty quick with propagation I would do your www domain first, and then when you have less traffic, do the other domain
samim
samimOP2y ago
added
samim
samimOP2y ago
samim
samimOP2y ago
is it ok?
MantisInABox
MantisInABox2y ago
Yes, that is how it should be Also, you want to make sure your SSL/TLS settings are on Full and not Full (Strict) Then it should work for you
samim
samimOP2y ago
Thanks brother solved. Thanks for your time I have neen noticing a pop up, developer plan will be removed what should I switched to
Ray
Ray2y ago
Open a new thread for this please
samim
samimOP2y ago
ok thanks
Want results from more Discord servers?
Add your server