Setting up is-a.dev with Railway
Getting the CNAME Record
- Navigate to the dashboard > project > service
- Switch to the Settings tab and click on + Custom Domain button.
- Enter the
is-a.devsubdomain you want to use (ex:subdomain.is-a.dev) - Copy the Value field for
@and createsubdomain.json
{
"owner": {
"username": "your-github-username",
"email": "[email protected]"
},
"records": {
"CNAME": "the-value-railway-gave-you"
}
}
- Copy the Value field for
_railway-verifyand create_railway-verify.subdomain.json
{
"owner": {
"username": "your-github-username",
"email": "[email protected]"
},
"records": {
"TXT": "the-value-railway-gave-you"
}
}
- After you have made the two files, you should make a pull request.
Adding the website preview is mandatory, since the CNAME value Railway gives you doesn't actually show you the website you are running.
- If the PR has been merged, the DNS records will be updated in a few minutes.
- If the PR has been merged but the DNS records haven't updated and you have waited 48 hours, open a GitHub issue or a help thread in the is-a.dev Discord server.