DocumentationWhat payment methods does Hostednode accept?What are Hostednode's billing cycles?When is the monthly renewal charge generated?When are services suspended for non-payment?When is a service deleted for non-payment?What should you do if a payment method is unavailable?Are all services subject to VAT?Do you issue receipts or invoices?How to create a customer account on HostednodeDo you accept cryptocurrency payments?How to Access DirectAdmin and Explore the Panel’s Main FeaturesHow to Configure PHP for Subdomains and Additional Domains in DirectAdminHow to change the PHP version and settings in DirectAdminHow to Create an Email Account in DirectAdminHow to use ClamAV antivirus from DirectAdminHow to Enable and Use Redis from DirectAdminHow to Add a Domain Alias and Use It for Email in DirectAdminHow to Add an Additional Domain in DirectAdminHow to Add an Additional User to an Existing Database in DirectAdminHow to configure an autoresponder in DirectAdminHow to Set Up a Vacation Message in DirectAdminHow to Create a Subdomain in DirectAdminHow to Create a Cron Job in DirectAdminHow to Create a Database and Associate Its User in DirectAdminHow to Create an FTP Account in DirectAdminHow to Create a Mailing List in DirectAdminHow to Create an Email Forwarder in DirectAdminHow to Create a Site Redirect in DirectAdminHow to Install WordPress with Softaculous WordPress Management in DirectAdminHow to Install WordPress with the DirectAdmin WordPress ManagerHow to Modify MX Records to Use Google Workspace in DirectAdminHow to review the web application firewall and create a rule exception in DirectAdminHow to Check Account Resource Usage in DirectAdmin
TUTORIAL

How to Create a Subdomain in DirectAdmin

Create a subdomain in DirectAdmin, choose its document root, and verify the assigned name and folder from the control panel.

A subdomain lets you use a name such as blog.example.com within a domain you already manage. DirectAdmin lets you create it and choose the folder from which its files will be served.

Before you begin

  • Log in to DirectAdmin and select the domain the subdomain will belong to.

  • Check that your service allows you to add subdomains and choose a name that is not already in use.

  • If DNS is managed outside your hosting service, creating the subdomain in the panel does not replace the DNS record needed for the name to resolve.

1. Open Subdomain Management

On the dashboard, open Account Manager → Subdomain Management. Click Add Subdomain.

DirectAdmin dashboard with tool groups and account statistics.
DirectAdmin dashboard with tool groups and account statistics.

2. Enter the name and choose the root

  1. In Subdomain, enter only the part before the domain, for example blog. The panel adds the selected domain.

  2. Review the full name and the Document Root options shown below.

  3. Use Default if you want the separate location suggested by DirectAdmin.

  4. Click Add Subdomain and wait for the confirmation Subdomain Created.

Subdomain name and document root options.
Subdomain name and document root options.

Default uses a dedicated folder for the subdomain. Legacy places its files in a subfolder of public_html for the main domain. Custom lets you specify another location supported by the panel. Review the displayed path before deciding: the root determines which files will be published under that name.

3. Check the result

Created subdomain with its document root and PHP version.
Created subdomain with its document root and PHP version.

In the list, check the full name, the Document Root and the PHP Version. The new row confirms that the panel created the subdomain; you still need content in its folder and correct DNS settings to access it from a browser.

If the name does not appear, check the active domain and any validation messages before trying to create it again. If the browser cannot find the site, check that the subdomain's DNS points to your hosting service and wait for the DNS caches to update.