Configuring a Custom Domain
Hello! Hope you guys are doing well!
I would like to know if this is how I configure a Domain in the Railway, or is something missing.
I added my domain, and I added the information provided by the settings according to the image I sent, in Google/domains that way.
Do I just have to wait for the "Waiting for DNS update · Show instructions" status to update automatically?
Solution:Jump to solution
Solution
First I did what the
railway
said in Project settings > Domains > Custom Domain
, already with the domain purchased:
https://discord.com/channels/713503345364697088/1138471505496379412/1139540551956447345
...8 Replies
Project ID:
b62b596e-1a25-4559-a32c-c74d00634378
Google domains does not support root level cnames, you will want to use cloudflare's nameservers, they have a guide for that here
https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/
Brody, this is the correct way to configure?
I did exactly what
railway
said.
railway sad to add a CNAME whit this another values, but I'm not sure if it's correctly.That looks good.
Thx for your help, Brody! I finally got it.
awsome!
Solution
Solution
First I did what the
railway
said in Project settings > Domains > Custom Domain
, already with the domain purchased:
https://discord.com/channels/713503345364697088/1138471505496379412/1139540551956447345
Next, I did what it says in this documentation that Brody made available:
https://discord.com/channels/713503345364697088/1138471505496379412/1138506056830558398
I put the Cloudflare Nameservers in
Custom nameservers (Active)
, on Google Domains.
Now, I changed the SSL/TLS settings to full in Cloudflare (the orange cloud):
https://discord.com/channels/713503345364697088/1138471505496379412/1139556236312989706
Now:
DNS>Records
A set CNAME, www (sobdomaim), railway token.
Last but not least... as I'm developing with Django, I added my domain to CSRF_TRUSTED_ORIGINS
and ALLOWED_HOSTS
: