Adding a Domain in DirectAdmin

4 views DNS & Domains

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

  1. Log in to DirectAdmin.
  2. Navigate to Account Manager → Domain Setup.
  3. Click Add Another Domain or Create New Domain.
  4. Enter the new domain name (e.g., newdomain.com) without http:// or www.
  5. 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.
  6. 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):

  1. Log in to your domain registrar (e.g., GoDaddy, Namecheap, Google Domains).
  2. Find the Nameserver settings for the domain.
  3. Replace the existing nameservers with your hosting provider's nameservers (e.g., ns1.yourhostingprovider.com and ns2.yourhostingprovider.com).
  4. Save the changes and allow 24–48 hours for propagation.
Tip: If you prefer not to change nameservers, you can instead create an A record at your registrar pointing the domain to your server's IP address. You will then also need to set up MX records manually if you want email to work.

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.

Need More Help?

Can't find what you're looking for? Our support team is ready to help.

Contact Support
Hi there! How can we help?
Chat with us