---
title: How to create a subdomain in DirectAdmin
description: "- You first need to login into DirectAdmin control panel using one of the URLs below,  ```  https://IP-address:2222 or https://server-hostname:2222. ``` ![](https://truehost.com/support/wp-content/uploads/2024/11/image-155.png) - Once logged in, go to**Account Manager**, then click on the **Subdomain Management**. ![](https://truehost.com/support/wp-content/uploads/2024/11/image-224.png) - Click the**Add Subdomain** button ![](https://truehost.com/support/wp-content/uploads/2024/11/image-225.png) -…"
url: "https://truehost.com/support/knowledge-base/how-to-create-a-subdomain-in-directadmin/"
updated: "2024-11-13"
category: Cloud servers in Kenya
---

# How to create a subdomain in DirectAdmin

- You first need to login into DirectAdmin control panel using one of the URLs below, 

```
 https://IP-address:2222 or https://server-hostname:2222.
```

![](https://truehost.com/support/wp-content/uploads/2024/11/image-155.png)

- Once logged in, go to**Account Manager**, then click on the **Subdomain Management**.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-224.png)

- Click the**Add Subdomain** button

![](https://truehost.com/support/wp-content/uploads/2024/11/image-225.png)

- Input the name of the subdomain that you want to create. E.g If you want to create a subdomain called **staging.example.com**, you will type in **staging**.
- Then click on the **Add** **Subdomain** button

![](https://truehost.com/support/wp-content/uploads/2024/11/image-227.png)

- Your new subdomain will be crated and will be visible under **Subdomain Management/Sub-Domains Setup.**

![](https://truehost.com/support/wp-content/uploads/2024/11/image-228.png)

## How to delete a Subdomain in DirectAdmin

- You first need to login into DirectAdmin control panel using one of the URLs below, 

```
 https://IP-address:2222 or https://server-hostname:2222.
```

![](https://truehost.com/support/wp-content/uploads/2024/11/image-155.png)

- Navigate to **Account Manager → Subdomain Management**.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-229.png)

- Select the Subdomain that you want to delete
- Then click on Delete

![](https://truehost.com/support/wp-content/uploads/2024/11/image-230.png)

With the above steps, you are well set to manage your subdomains on DirectAdmin. You can explore our [Knowledgebase](https://truehost.com/support) for more articles on DirectAdmin
