Setting Up Additional Domains in DirectAdmin
DirectAdmin allows you to host multiple domains under a single account, depending on your hosting plan. Each additional domain gets its own document root, email accounts, and DNS configuration.
Adding an Addon Domain
- Log in to DirectAdmin.
- Navigate to Account Manager → Domain Setup.
- Click Add Another Domain or Create New Domain.
- Enter the new domain name (e.g.,
newdomain.com) withouthttp://orwww. - Configure the following options:
- Bandwidth: Leave as default unless you want to set a specific limit.
- PHP Version: Select the PHP version for this domain.
- CGI: Enable if your site needs CGI scripts.
- SSL: Enable if you plan to install an SSL certificate.
- Click Create to add the domain.
Updating DNS / Nameservers
After adding the domain in DirectAdmin, you must point the domain's nameservers to your hosting provider's nameservers. This is done at your domain registrar (where you purchased the domain):
- Log in to your domain registrar (e.g., GoDaddy, Namecheap, Google Domains).
- Find the Nameserver settings for the domain.
- Replace the existing nameservers with your hosting provider's nameservers (e.g.,
ns1.yourhostingprovider.comandns2.yourhostingprovider.com). - Save the changes and allow 24–48 hours for propagation.
Uploading Files
Each addon domain has its own directory, typically located at /domains/newdomain.com/public_html/. Upload your website files to this directory using the File Manager or FTP.
Removing a Domain
To remove an addon domain, return to Domain Setup, select the domain, and click Delete. This will remove the domain configuration and its associated files, so make sure you have backups before proceeding.