> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://krystal-dev.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to add a new website as a Subdomain

There are a number of ways to add a new domain or site to your account. We have a [separate guide that details the differences](/article/kxwtcqk0lf-understanding-primary-alias-or-parked-addon-and-sub-domains).

This guide covers how to add a Subdomain

**cPanel > DOMAINS**

If you'd like to run an additional website using an existing domain you'll need to add it as a Subdomain.

For example, you may run a chain of restaurants and branches in different cites. Your main site is `www.restaurant.co.uk` and you'd also like `cityone.restaurant.co.uk` and `citytwo.restaurant.co.uk` you would add `cityone` and `citytwo` as Subdomains of restaurant.co.uk

Subdomains can have their own unique email accounts.

![](https://storage.crisp.chat/users/helpdesk/website/ef3481dde52628/cdab2d11-654e-4549-a0fa-efa829_1oxq2v6.png)

To create a subdomain, click the **Domains** icon.

![](https://storage.crisp.chat/users/helpdesk/website/611e76c79e3c3800/6de1c2b2-fd28-45c2-a69d-d9fa8c_4a8hjb.png)

Click **Create A New Domain**

![](https://storage.crisp.chat/users/helpdesk/website/76ffac7be5c8f00/c2132402-8b98-4bc6-8d14-e97c96_1f0nb0s.png)

Enter the subdomain exactly as you wish it to be added.

|| If you wanted to add the subdomain "test" to the domain "example.com", you should type "test.example.com" in the domain field.

You can accept the **Document Root** folder suggestion, or edit it.

![](https://storage.crisp.chat/users/helpdesk/website/15f6e83f1f906300/95a198e1-9399-45ff-b3e0-2682bb_rfbqez.png)

Click the **Create** button to finish adding your sub-domain.

Ensure you upload your website files to the correct **Document Root** folder. In this case, it would be `/home/subdomain.maindomain.tld/`.

#### **Email and subdomains**

Subdomains are treated as separate domains in terms of email handling. This means that you can maintain mailboxes for all of your subdomains entirely independently.

* * *

* * *