How to use a custom domain
I know of those docs (https://docs.railway.app/deploy/exposing-your-app), but I've never done something like this before, so I'm not sure what to do.
Am I required to host my domain somewhere else and then somehow link it to railway?
13 Replies
you add a CNAME record pointing to the railway subdomain
I'm sorry, but what does that mean and how do I do it?
Also, what do you mean subdomain? I'd like to use a "regular" domain such as
abcdefg.com
.have you bought a domain yet
No
Can I do this through railway or do I have to go somewhere else and then link it?
you have to buy a domain through a domain registrar
you can find a good price using https://tld-list.com
and for actually buying one i recommend namecheap or porkbun
or cloudflare domains
Thank you, I'll take a look
So if I have this settings-window on porkbun...
What do I set those fields to?
My initial theory is:
- Leave host blank
- Answer: The Railway URL?
yep
but remove the https:// from the beginning
Interesting System!
yeah you should use cname flattening
Seems to have worked, thanks a lot! 🙂