Helping you get the most out of DirectAdmin and your web site!
This document provides information about subdomains. Topics include creating subdomains, removing subdomains, subdomain statistics, usage logs, error logs, and creating FTP users for individual subdomains.
To create a subdomain, sign into the control panel and then click on the "Account Manager" icon, followed by the "Subdomain Managemant" link.
To create a subdomain, click on the "Add Subdomain" button.
In the above example we are creating newsub.sitehelper.com. enter your desired name, and press "Add Subdomain" button again.
You may also create sub.sub.sub.sub.domain.com.
Note: It may take up to five minutes for a new subdomain to become active.
Each subdomain appears in public_html/subdomain-name. This means that your subdomain can also be accessed at http://www.yoursite.com/subdomain-name. You can upload to a subdomain folder in the same way you upload to any other folder: use FTP, FileZilla, File Manager, etc. You can find more info about uploading files to your website here.
To remove a subdomain, place a check next to the subdomain(s) you want deleted, then click the "Delete" button.
Then, check "Remove Directory Content" box if you want the subdomain directory and its files to be deleted.
If you don't check the box, the subdomain will stop working but the files and directory will remain intact.
Beside each subdomain name is a "Stats" link (see above picture). This link will load Webalizer statistics. Please note that for the link to work:
The "Usage Log" and "Error Log" links (see above picture) will take you to text version of each log file. The usage log provides the IP address of the requester, time and date of the request, and the description of the request. The "Stats" link (see Subdomain Statistics section) is a graphical version of the usage log. The error log provides information about unsuccessful requests and is useful for troubleshooting when the cause of the error is unknown.
The usage and error logs are accessible immediately after subdomain creation. You will see a blank box if there has been no subdomain activity.
To restrict an FTP account to a single subdomain, follow these steps:
Note: You can find more information about FTP accounts here.
Please contact your hosting company for more assistance, or visit the DirectAdmin support forum at http://forum.directadmin.com.