Skip to content

Commit a64c4d4

Browse files
authored
Merge pull request #111 from iostpa/main
Add a notice for Vercel
2 parents 62423d2 + 652ebea commit a64c4d4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/guides/vercel.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ If you haven't made a Vercel site, make sure to make one. Follow the instruction
1515

1616
### Creating the domain
1717

18-
1. Navigate to your Vercel dashboard. Then, navigate to the "Domains" tab of your project's settings. Click "Add Domain" and enter the is-a.dev subdomain you want (e.g. `example.is-a.dev`).
18+
1. Navigate to your Vercel dashboard. Then, navigate to the "Domains" tab of your project's settings. Click "Add Domain" and enter the is-a.dev subdomain you want (e.g. `example.is-a.dev`).
19+
!!!
20+
You may see Vercel enable by default the "Redirect example.is-a.dev to www.example.is-a.dev" button. We recommend to disable it since it will make the main subdomain (`example.is-a.dev`) be a redirect to a nested subdomain (`www.example.is-a.dev`), which you would have to make a file for alongside the main subdomain. If you wish to make a file for `www.example.is-a.dev`, repeat step 4 like you did with the main subdomain, but replace the records with what Vercel gave you.
21+
!!!
1922
2. Once you're past the "Configure Environment and Redirects" tab—if unsure, just click "Save"—then click "Continue manually". Copy the TXT verification value that you'll get; you'll need this in step 4.
2023
3. [Fork](https://github.com/is-a-dev/register/fork) our repository and create a file **in the `/domains` folder** named `your-domain.json`. Replace `your-domain` with the name of the subdomain you chose earlier in the Vercel dashboard.
2124
4. In this file, paste the following JSON and ***make sure to replace all the values properly***.
@@ -48,6 +51,9 @@ These records could be different so please pay attention and check what records
4851
}
4952
}
5053
```
54+
!!!
55+
If you wish to add multiple nested subdomains with Vercel, please add all of the TXT verification records to this file. For more information on how you can add multiple TXT records please check the [Domain Structure](/useful/domain-structure) section.
56+
!!!
5157

5258
### Make a pull request
5359

0 commit comments

Comments
 (0)