railway.md (1415B)
1 --- 2 order: 1200 3 icon: /media/railway.png 4 label: Railway 5 tags: guides 6 --- 7 8 # Setting up is-a.dev with Railway 9 10 ## Getting the CNAME Record 11 12 1. Navigate to the [dashboard](https://railway.app/dashboard) > project > service 13 2. Switch to the **Settings** tab and click on **+ Custom Domain** button. 14 3. Enter the `is-a.dev` subdomain you want to use (ex: `subdomain.is-a.dev`) 15 4. Copy the **Value** field for `@` and create `subdomain.json` 16 ```json 17 { 18 "owner": { 19 "username": "your-github-username" 20 }, 21 "records": { 22 "CNAME": "the-value-railway-gave-you" 23 } 24 } 25 ``` 26 5. Copy the **Value** field for `_railway-verify` and create `_railway-verify.subdomain.json` 27 ```json 28 { 29 "owner": { 30 "username": "your-github-username" 31 }, 32 "records": { 33 "TXT": "the-value-railway-gave-you" 34 } 35 } 36 ``` 37 6. After you have made the two files, you should make a pull request. 38 39 !!! 40 **Adding the website preview is mandatory**, since the CNAME value Railway gives you doesn't actually show you the website you are running. 41 !!! 42 43 - **If the PR has been merged, the DNS records will be updated in a few minutes.** 44 - **If the PR has been merged but the DNS records haven't updated and you have waited 48 hours, [open a GitHub issue](https://github.com/is-a-dev/register/issues/new/choose) or a help thread in the is-a.dev [Discord server](https://discord.gg/is-a-dev-830872854677422150).**