Validate domain by CNAME
You cannot create new accounts using a CNAME verified domain name. You can only add a CNAME verified domain name to an existing account. This has to be done manually in vPanel.
This endpoint allows you to add a domain using CNAME validation instead of DNS validation.
It uses a POST request, which is confusing because itās called getcname.
After using this endpoint, use the hash it returns and add that as a subdomain to your domain. Point this subdomain to ns1.byet.org.
Example
Letās say your domain is example.com. You would make a request with example.com as value for the domain parameter.
This returns a hash. In this case weāll use 73081144a0525fde6ba1b0510684efcf.
The user would create a subdomain called 73081144a0525fde6ba1b0510684efcf.example.com and point it to ns1.byet.org.
Afterwards, the user can add the domain name to vPanel.
HTTP Endpoint
Parameters
The API username and key must be provided in both the parameters and basic auth.
| Parameter | Required | Type |
|---|---|---|
api_user | Yes | string |
api_key | Yes | string |
domain_name | Yes | string |
Usage
Response
73081144a0525fde6ba1b0510684efcf