---
title: "Create a subsite"
method: POST
path: "/linuxhostings/{domainName}/subsites"
tags: ["Linux hostings"]
---

# Create a subsite

`POST /linuxhostings/{domainName}/subsites`

## Path parameters

- `domain_name` string, required

## Request body

- AddSubsiteRequest
  - `domain_name` string — Subsite domain name (e.g. alias.be or subsite.site.be).
  - `path` string — Folder location for the subsite (when empty we use /subsites/site (e.g. /subsites/subsite.site.be) The path MUST pre-exist on the server. It WILL NOT be created automatically.

## Response `201`

Created

---

[API](https://skmtc.net/combell/apis/public-api.md) · [All operations](https://skmtc.net/combell/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/combell/public-api/versions/d6d1ea012567/schema)
