References
Domain information list
json:server_names
Original definition
# Domain information list
## Definition
~~~
[ Domain information 1, Domain information 2, ... ]
~~~
Each `Domain information N` is a single domain information definition. See {json:server_name} for details.
## Examples
### Example 1: a single domain
~~~json
[
{
"name": "example.com",
"type": "full"
}
]
~~~
### Example 2: multiple domains
~~~json
[
{
"name": "example.com",
"type": "full"
},
{
"name": "google.com",
"type": "full"
},
{
"name": "facebook.com",
"type": "full"
}
]
~~~
### Example 3: a domain collection
A domain collection behaves the same as multiple domains, but appears as a single directory in the interface.
~~~json
[
{
"name": "",
"type": "full",
"subNames": ["example.com", "google.com", "facebook.com"]
}
]
~~~