2 years ago
I have a website with domain (just an example) "https://[damn.com](damn.com)", and i need my server/backend to have the same domain, so something like "https://server.[damn.com](damn.com)", so for my server when adding the custom domain, how should i add it ? Should i put the exact same name, or should i put a wildcard like "*.damn.com", and register it like a A record in my domain provider ?
I know there's documentation for this but i didn't fully understand 😔
2 Replies
2 years ago
if you want your backend's domain to be https://server.damn.com then you'd add a CNAME with the target of server and value that Railway gives you into your DNS settings, it'll tell you this when you add the custom domain on your service
2 years ago
i'll try it out, thanks !!!