hosting_createWebsiteV1
Set up a new website by providing a domain and order ID. For the first website on a new hosting plan, include the datacenter code to configure the account.
Instructions
Create a new website for the authenticated client.
Provide the domain name and associated order ID to create a new website. The datacenter_code parameter is required when creating the first website on a new hosting plan - this will set up and configure new hosting account in the selected datacenter.
Subsequent websites will be hosted on the same datacenter automatically.
Website creation takes up to a few minutes to complete. Check the websites list endpoint to see when your new website becomes available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name for the website. Cannot start with "www." | |
| order_id | Yes | ID of the associated order | |
| datacenter_code | No | Datacenter code. This parameter is required when creating the first website on a new hosting plan. |