atetrax
ssl
For anyone troubleshooting in the future. i've written some basic information about the different options when setting up your site using a custom domain like I was/am. This info pertains to railway.app only, as thats my only experience so far.
Root Domain (my.site)
ALIAS: This method points your root domain (my.site) to another domain (like a Railway app domain). Not all DNS providers support these records for the root domain, but if it does, that's a good option for setting up the root domain.
Subdomain (www.my.site)
CNAME Record: This is standard for setting up a subdomain. You can point www.my.site to your Railway app's domain using a CNAME record.
Wildcard (*.my.site)
CNAME: The wildcard can represent any subdomain of your site. It's useful if you're planning to create multiple subdomains that all need to be pointed to the same place. Note that a wildcard will not cover the root domain itself.
Options:
Just Root and www: If you set up DNS records just for my.site and www.my.site, that's often sufficient for most use-cases. Anyone typing either of those will be taken to your website.
Wildcard: A wildcard is more encompassing but may be overkill if you don't plan to use additional subdomains. However, it makes your setup more flexible for future expansions without having to change DNS records again.
11 replies