> For the complete documentation index, see [llms.txt](https://docs.realmacsoftware.com/elements-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmacsoftware.com/elements-docs/hosting/elements-hosting-reactor-panel/websites/manage-websites/domains/subdomains.md).

# Subdomains

How to add a subdomain to your Elements Hosting account

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&amp;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&amp;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&amp;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&amp;token=d2431f04-85a2-4a0d-98aa-996fe1b67d14" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmacsoftware.com/elements-docs/hosting/elements-hosting-reactor-panel/websites/manage-websites/domains/subdomains.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
