Hosting: Domains
List website parked domains
Retrieve all parked or alias domains created under the selected website.
Use this endpoint to inspect parked domain configuration for a specific website, including the parent domain and root directory assigned to each parked domain.
get/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains
Path parameters
usernamestring required
Example:u123456789
domainstring required
Example:mydomain.tld
Domain name
Response
Success response
Example response
[
{
"username": "u123456789",
"domain": "parked-domain.com",
"parent_domain": "example.com",
"root_directory": "/home/u123456789/domains/example.com/public_html",
"type": "domain"
}
]