You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/domain-structure.md
+17-30Lines changed: 17 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,4 @@
1
-
---
2
-
tags: useful
3
-
icon: list-unordered
4
-
---
5
-
6
-
# Domain Structure
1
+
# Domains JSON file
7
2
To register a subdomain, you need to create a new JSON file in the `domains` directory through a pull request. For example, to register `example.is-a.dev`, you would create a file named `example.json` in the `domains` directory. The full path would be `domains/example.json`.
8
3
9
4
## Filename
@@ -24,6 +19,7 @@ The filename:
24
19
-`a .json` (filename contains a space)
25
20
-`a$.json` (filename contains a non-alphanumeric character)
26
21
-`a.json.json` (filename contains more than one `.json` extension)
@@ -73,18 +67,10 @@ Describe your domain name and your usage. This is purely for documentation purpo
73
67
This is a link to your website repository or your github account. This is purely for documentation purpose and is optional.
74
68
75
69
### record (required)
76
-
This section is where you specify the DNS records. The supported types are:
77
-
78
-
-`CNAME`
79
-
-`A`
80
-
-`AAAA`
81
-
-`URL`
82
-
-`MX`
83
-
-`TXT`
84
-
-`SRV`
85
-
-`CAA`
86
-
-`NS` (NS records will only be given to users with a [genuine need for them who are trusted users.](https://is-a.dev/docs/faq/))
87
-
70
+
This section is where you specify the DNS records.
71
+
72
+
You can see a list of supported types [here](/faq/#which-records-are-supported).
73
+
88
74
Below are some examples for the given record types:
89
75
90
76
-**CNAME** record: This must be a hostname (`something.tld`). It cannot be used in conjunction with any other record types. This is typically used to map your domain to a specific server.
@@ -123,7 +109,7 @@ Below are some examples for the given record types:
123
109
```json
124
110
{
125
111
"record": {
126
-
"URL": "https://my-other-website.com"
112
+
"URL": "https://example.com"
127
113
}
128
114
}
129
115
```
@@ -164,9 +150,7 @@ Below are some examples for the given record types:
164
150
}
165
151
}
166
152
```
167
-
!!!warning Note
168
-
Please refer to the [frequently asked questions](https://is-a.dev/docs/faq/) for clarification on what or who we allow NS records for. If you want a example on what we want as the reasonings, you can [checkout this PR](https://github.com/is-a-dev/register/pull/16758).
169
-
!!!
153
+
Note: Please refer to the [frequently asked questions](https://docs.is-a.dev/faq/) for clarification on what or who we allow NS records for. If you want a example on what we want as the reasonings, you can [checkout this PR](https://github.com/is-a-dev/register/pull/16758).
170
154
171
155
-**SRV** record: This must be a list of service records. Each record specifies the priority, weight, port, and target for a service on your domain. SRV records are often used for services such as VoIP, messaging, and more.
172
156
```json
@@ -210,4 +194,7 @@ Please refer to the [frequently asked questions](https://is-a.dev/docs/faq/) for
210
194
```
211
195
212
196
### proxied (*optional*)
213
-
Enable Cloudflare proxy for your domain. Disabled by default.
197
+
Enable Cloudflare proxy for your domain. Disabled by default. To enable it, add this line of code:
0 commit comments