---
title: "Create website parked domain"
method: POST
path: "/api/hosting/v1/accounts/{username}/websites/{domain}/parked-domains"
tags: ["Hosting: Domains"]
---

# Create website parked 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

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.

## Path parameters

- `username` string, required
- `domain` string, required

## Request body

- HostingV1DomainsCreateParkedDomainRequest
  - `parked_domain` string, required: Domain name or IP address to park on the selected website

## Response `200`

Success empty response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `401`: Unauthenticated response
- `422`: Validation error response
- `500`: Error response

---

[API](https://skmtc.dev/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.dev/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostinger/apis/hostinger-api/revisions/bf8a445878c7?raw)
