commit 8587c3ad0b9aa442047a043b9dc23980fab01bea
parent 548139e09e4835330dbdfa001da78628a4d6d5a2
Author: dragsbruh <dragsbruh@protonmail.com>
Date: Sat, 18 Jul 2026 11:21:13 +0530
Add instructions for railway domain verify record
Diffstat:
1 file changed, 28 insertions(+), 20 deletions(-)
diff --git a/src/guides/railway.md b/src/guides/railway.md
@@ -9,30 +9,38 @@ tags: guides
## Getting the CNAME Record
-1. Navigate to the [dashboard](https://railway.app/dashboard)
-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-github-username",
- "email": "your-email@example.com"
- },
- "records": {
- "CNAME": "the-value-railway-gave-you"
+1. Navigate to the [dashboard](https://railway.app/dashboard) > project > service
+2. Switch to the **Settings** tab and click on **+ Custom Domain** button.
+3. Enter the `is-a.dev` subdomain you want to use (ex: `subdomain.is-a.dev`)
+4. Copy the **Value** field for `@` and create `subdomain.json`
+ ```json
+ {
+ "owner": {
+ "username": "your-github-username",
+ "email": "your-email@example.com"
+ },
+ "records": {
+ "CNAME": "the-value-railway-gave-you"
+ }
}
-}
-```
-9. After you have made the file, you should make a pull request.
+ ```
+5. Copy the **Value** field for `_railway-verify` and create `_railway-verify.subdomain.json`
+ ```json
+ {
+ "owner": {
+ "username": "your-github-username",
+ "email": "your-email@example.com"
+ },
+ "records": {
+ "TXT": "the-value-railway-gave-you"
+ }
+ }
+ ```
+6. After you have made the two file, 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](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).**