# Subdomains

A **subdomain** is a way to create a separate section of your website using your existing domain name. For example, if your main website is `yourwebsite.com`, a subdomain could be something like `blog.yourwebsite.com` or `shop.yourwebsite.com`.

When you create a subdomain in the Elements Hosting Reactor Panel, it gets its own folder to store files. This lets you use it for a blog, store, or any other part of your site, while still being connected to your main website.

To add a subdomain to your Elements Hosting account, follow the steps below.

#### Step 1

Log into the [Elements Hosting Reactor Panel](https://reactor.elementshosting.io/login) and click on `Websites` in the sidebar, then click on the website you'd like to add a subdomain to.

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FkFXdQhfhKGWueGfVdELH%2F01-how-to-add-a-subdomain.webp?alt=media&#x26;token=670f2677-82e6-44aa-ad83-17b25786068d" alt=""><figcaption></figcaption></figure>

#### Step 2

Click on `Domains` in the top menu, then click on the blue `Add domain` button.

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2Fd2pTL67yDWz62w8UecQe%2F02-how-to-add-a-subdomain.webp?alt=media&#x26;token=09276a91-6c2f-41b8-8479-7187102de02f" alt=""><figcaption></figcaption></figure>

#### Step 3

Select `Subdomain`, then in the `Domain*` field enter your desired subdomain. The `Document root` field will be auto-filled as you type your subdomain. We recommend leaving this as-is as this is the folder where your subdomain's website files should be uploaded to.&#x20;

When finished click the blue `Add` button.

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FgNcroPJEw5yfE5zSBNzh%2F03-how-to-add-a-subdomain.webp?alt=media&#x26;token=4c187dba-6b87-4d2f-89c0-88ace4c0435b" alt=""><figcaption></figcaption></figure>

#### Step 4

You will now see your subdomain listed in your Domains list.&#x20;

Click on `...` in order to:

* Manage your subdomain's document root folder
* Delete your subdomain if needed

{% hint style="info" %}
If your subdomain's DNS is not yet pointed to your Elements Hosting account's IP address, you will see a yellow padlock next to it indicating a Let's Encrypt SSL certificate has not yet been issued for it.

Once you point the DNS for your subdomain to your Elements Hosting account's IP address, a new Let's Encrypt SSL certificate will be auto-provisioned and you will then see a green padlock next to it in the list, indicating your website is SSL secured!
{% endhint %}

<figure><img src="https://410055788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1wrnfhRFfBQTaZF2M5d8%2Fuploads%2FsLc5PVVqbtSg7VHcuL8N%2F04-how-to-add-a-subdomain.webp?alt=media&#x26;token=d2431f04-85a2-4a0d-98aa-996fe1b67d14" alt=""><figcaption></figcaption></figure>
