Cloud Service >> Knowledgebase >> Domains & DNS >> How To Add An Addon Domain?
submit query

Cut Hosting Costs! Submit Query Today!

How To Add An Addon Domain?

Adding an addon domain allows you to host multiple domains from a single hosting account. Here’s a step-by-step guide for adding an addon domain using different control panels and methods:

1. Using cPanel

cPanel is one of the most common control panels for web hosting. Here’s how you can add an addon domain in cPanel:

Log In to cPanel:

Go to your hosting provider’s cPanel login page (e.g., http://yourdomain.com/cpanel).

Find the Addon Domains Section:

In the "Domains" section, click on "Addon Domains."

Add the Addon Domain:

New Domain Name: Enter the domain name you want to add (e.g., example.com).

Subdomain: This is usually filled in automatically based on the domain name.

Document Root: This is the directory where the files for the addon domain will be stored. It’s often automatically filled with a directory name based on the domain. You can change this if desired.

Create an FTP Account (optional): You can create an FTP account for this domain by checking the box and setting a username and password.

Click "Add Domain":

After filling out the information, click the "Add Domain" button.

Update DNS Records:

Make sure the DNS records for the addon domain point to your hosting account’s nameservers. This is typically done through your domain registrar’s control panel.

2. Using Plesk

Plesk is another popular control panel. Here’s how to add an addon domain using Plesk:

Log In to Plesk:

Access your Plesk control panel (e.g., http://yourdomain.com:8443).

Navigate to Domains:

Go to "Websites & Domains" or the "Domains" section.

Add a New Domain:

Click on "Add Domain" or "Add Domain Name."

Enter Domain Details:

Domain Name: Enter the domain name you want to add.

Document Root: Specify the directory where the domain’s files will be stored.

FTP Account: Optionally, you can create an FTP account for this domain.

Click "OK" or "Add Domain":

After entering the details, click the appropriate button to add the domain.

Update DNS Records:

Ensure that the DNS settings for the domain are correctly pointed to your server.

3. Using DirectAdmin

DirectAdmin is another control panel used for managing web hosting:

Log In to DirectAdmin:

Access your DirectAdmin panel (e.g., http://yourdomain.com:2222).

Go to Domain Management:

Click on "Domain Setup" or "Domain Management."

Add a New Domain:

Click "Create Addon Domain."

Enter Domain Details:

Domain Name: Enter the domain you want to add.

Username/Password: Set a username and password if needed for the domain’s FTP account.

Document Root: Define the directory for the domain’s files.

Save or Add Domain:

Click the appropriate button to save or add the domain.

Update DNS Records:

Ensure that the DNS records are set correctly to point to your hosting server.

4. Manual Configuration (Advanced)

If you have root access to a server or a VPS and are comfortable with manual configuration, you can add domains directly via configuration files.

Apache:

Add a new VirtualHost entry in the Apache configuration file (/etc/httpd/conf/httpd.conf or /etc/apache2/sites-available/).

Nginx:

Add a new server block in the Nginx configuration file (/etc/nginx/nginx.conf or /etc/nginx/sites-available/).

Create Document Root and Permissions:

Manually create the document root directory and set appropriate permissions.

Additional Notes

DNS Propagation: Changes to DNS information would possibly soak up to 24-forty eight hours to propagate.

Testing: After putting in place the addon area, test it with the aid of importing a easy HTML file to the document root directory and having access to it via the browser.

Security: Ensure right security settings and record permissions for the brand new area’s directory.

 

If you come upon any troubles or want particular commands based in your web hosting issuer or manage panel, it’s a good concept to consult their documentation or assist group.

Cut Hosting Costs! Submit Query Today!

Grow With Us

Let’s talk about the future, and make it happen!