Here's a step-by-step guide on how to create a subdomain for your website in DirectAdmin:
1. Log in to your DirectAdmin control panel using your username and password.
2. Once logged in, click on the "Subdomain Management" icon under the "Advanced Features" section.
3. On the Subdomain Management page, click the "Create Subdomain" button.
4. In the "Create Subdomain" form, enter the following information:
- Subdomain: Enter the name of the subdomain you want to create (e.g. blog if you want to create a blog.yourdomain.com subdomain).
- Domain: Select the main domain that the subdomain should be created for.
- Document root: Enter the path of the directory where the subdomain files should be stored. By default, this will be the main website directory followed by the subdomain name (e.g. public_html/blog).
5. Once you have entered the required information, click the "Create" button at the bottom of the page.
6. The subdomain will now be created and displayed on the Subdomain Management page.
Congratulations! You have now successfully created a subdomain for your website in DirectAdmin. You can now use the subdomain to host a separate section of your website or to create a separate website altogether.