Hosting: Domains
Create website parked domain
Create a parked or alias domain for the selected website.
Provide a domain name or IP address to park on the website so it serves the same content as the parent domain.
post/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains
- Auth: HTTP bearer
Path parameters
usernamestring required
Example:u123456789
domainstring required
Example:mydomain.tld
Domain name
Request body
Example request
{
"parked_domain": "parked-domain.com"
}Response
Success empty response
Example response
{
"message": "Request accepted"
}Changes
No recorded changes to this operation across all 133 revisions of this API.