For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /directadmin/domains_dns/how_to_create_a_subdomain_in_directadmin.md.

How to Add a Subdomain in DirectAdmin

Info

If you are using the Standard theme in DirectAdmin, switch to the Refreshed theme by following How to Change Theme or Layout on DirectAdmin.

Add and Manage a Subdomain in Standard Theme

Click here to view Standard Theme instructions

Log in to DirectAdmin

Log in to your DirectAdmin control panel.

Open Subdomain Management

Under Account Manager, click Subdomain Management.

Subdomain Management in Standard theme

Add a Subdomain

Click Add Subdomain to add a subdomain to your domain.

Add Subdomain option in Standard theme

Enter the Subdomain Name

Enter the subdomain name and click Add Subdomain.

Enter subdomain name in Standard theme

Verify Subdomain Creation

After the subdomain is added successfully, it will appear in the subdomain list.

Subdomain created in Standard theme

Delete a Subdomain

To delete a subdomain, select its checkbox and click Delete.

Delete subdomain in Standard theme

View Status and Logs

Click the + symbol on the right side of the subdomain entry to access the corresponding options, such as Status, Usage Log, and Error Log.

Subdomain status and logs in Standard theme

Add and Manage a Subdomain in Refreshed Theme

Log in to DirectAdmin

Log in to your DirectAdmin control panel.

Open Subdomain Management

Click Menu, then select Subdomain Management under Account Manager.

Subdomain Management in Refreshed theme

Add a Subdomain

Click Add Subdomain to add a subdomain to your domain.

Add Subdomain option in Refreshed theme

Enter the Subdomain Name

Enter the subdomain name and click Add Subdomain.

Enter subdomain name in Refreshed theme

Verify Subdomain Creation

After the subdomain is added successfully, it will appear in the subdomain list.

Subdomain created in Refreshed theme

Delete a Subdomain

To delete a subdomain, select its checkbox and click Delete.

Delete subdomain in Refreshed theme

View Status and Logs

Click the + symbol on the right side of the subdomain entry to access the corresponding options, such as Status, Usage Log, and Error Log.

Subdomain status and logs in Refreshed theme