v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-03269339953.6 KB
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

usernamestring

Website username

domainstring

Parked domain name or IP address

parent_domainstring

Parent website domain

root_directorystring

Parked domain root directory

type'domain' | 'ip'

Whether the parked value is a domain name or an IP address (IPv4 or IPv6)

Example response

[
  {
    "username": "u123456789",
    "domain": "parked-domain.com",
    "parent_domain": "example.com",
    "root_directory": "/home/u123456789/domains/example.com/public_html",
    "type": "domain"
  }
]