Skip to content

Commit

Permalink
Update railway.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iostpa authored Feb 1, 2025
1 parent f934bd9 commit 1bad1d8
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions src/guides/railway.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,29 @@ tags: guides
## Getting the CNAME Record

1. Navigate to the [dashboard](https://railway.app/dashboard)
1. Navigate to the project.
1. Navigate to the service.
1. Switch to the **Settings** tab.
1. Click on **+ Custom Domain** button.
1. Enter the `is-a.dev` subdomain you want to use.
1. Copy the **Value** field.
1. Go to the [register site](https://register.is-a.dev).
1. Choose **CNAME** record type from the dropdown menu.
1. Choose your desired subdomain.
1. Enter the value from clipboard in the **Record Value** field.
1. Click on the **Submit Query** button.
1. Wait for your pull request to be merged and the DNS records to update.
2. Navigate to the project.
3. Navigate to the service.
4. Switch to the **Settings** tab.
5. Click on **+ Custom Domain** button.
6. Enter the `is-a.dev` subdomain you want to use.
7. Copy the **Value** field.
8. For the domain, make the json like this:
```json
{
"owner": {
"username": "your-username",
"email": "your-email"
},
"record": {
"CNAME": "is-a-dev-docs.pages.dev"
}
}
```
9. After you have made the file, you should make a pull request.
!!!
**Adding the website preview is neccessary**, 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.**

0 comments on commit 1bad1d8

Please sign in to comment.