Add Website To Server
add_siteAdds ANOTHER website to the user's existing server, on its own domain. Use this instead of
telling them to buy a second server: one server hosts as many sites as its disk allows, at no
extra cost. domain is the new site's own domain (e.g. ikincisite.com); key is an optional
short name used to address the site in later tool calls (defaults to a slug of the domain).
confirm=false previews, confirm=true creates it. We take the domain onto our own DNS: the
only thing the customer does is change the nameservers (NS) at their registrar to the ones
this tool returns — never hand them CNAME/A records. If the domain's zone is already ours
(e.g. blog.theirsite.com) there is nothing for them to do at all. Then write the pages with
site_write_file(site='', …).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| domain | Yes | ||
| server | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||