Adding a Domain in DirectAdmin
51 views
DNS & Domains
<h3>Setting Up Additional Domains in DirectAdmin</h3>
<p>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.</p>
<h3>Adding an Addon Domain</h3>
<ol>
<li>Log in to DirectAdmin.</li>
<li>Navigate to <strong>Account Manager → Domain Setup</strong>.</li>
<li>Click <strong>Add Another Domain</strong> or <strong>Create New Domain</strong>.</li>
<li>Enter the new domain name (e.g., <code>newdomain.com</code>) without <code>http://</code> or <code>www</code>.</li>
<li>Configure the following options:
<ul>
<li><strong>Bandwidth:</strong> Leave as default unless you want to set a specific limit.</li>
<li><strong>PHP Version:</strong> Select the PHP version for this domain.</li>
<li><strong>CGI:</strong> Enable if your site needs CGI scripts.</li>
<li><strong>SSL:</strong> Enable if you plan to install an SSL certificate.</li>
</ul>
</li>
<li>Click <strong>Create</strong> to add the domain.</li>
</ol>
<h3>Updating DNS / Nameservers</h3>
<p>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):</p>
<ol>
<li>Log in to your domain registrar (e.g., GoDaddy, Namecheap, Google Domains).</li>
<li>Find the <strong>Nameserver</strong> settings for the domain.</li>
<li>Replace the existing nameservers with your hosting provider's nameservers (e.g., <code>ns1.yourhostingprovider.com</code> and <code>ns2.yourhostingprovider.com</code>).</li>
<li>Save the changes and allow 24–48 hours for propagation.</li>
</ol>
<div class="alert alert-info"><strong>Tip:</strong> 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.</div>
<h3>Uploading Files</h3>
<p>Each addon domain has its own directory, typically located at <code>/domains/newdomain.com/public_html/</code>. Upload your website files to this directory using the File Manager or FTP.</p>
<h3>Removing a Domain</h3>
<p>To remove an addon domain, return to <strong>Domain Setup</strong>, select the domain, and click <strong>Delete</strong>. This will remove the domain configuration and its associated files, so make sure you have backups before proceeding.</p>
Need More Help?
Can't find what you're looking for? Our support team is ready to help.
Contact Support