Creating an addon domain in cPanel is a common task for website developers and server administrators. An addon domain allows you to host additional domains on your cPanel account, each with its own website, separate from your primary domain. Here’s how to create an addon domain in cPanel:
Steps to Create an Addon Domain in cPanel
1. Log in to cPanel
- Open your web browser and navigate to your cPanel login page, typically accessed via a URL like
.
- Enter your cPanel username and password to log in.
2. Access the Addon Domains Function
- Once logged in, look for the ‘Domains’ section in the cPanel dashboard.
- Click on the ‘Addon Domains’ icon. This will take you to the addon domain management area.
3. Create a New Addon Domain
- In the Addon Domains section, you will find a form to create a new addon domain.
- New Domain Name: Enter the domain name you wish to add as an addon domain (e.g.,
mynewdomain.com
). - Subdomain / FTP Username: This field usually auto-fills based on the domain name. It creates a subdomain/FTP user for managing the addon domain.
- Document Root: This field also auto-fills, suggesting a directory in your public_html folder where the addon domain’s files will reside (e.g.,
public_html/mynewdomain.com
). You can modify this if necessary. - Password: Set a password for the FTP account associated with the addon domain. This is only necessary if you plan to use separate FTP access for this domain.
4. Create the Addon Domain
- After filling in the details, click the ‘Add Domain’ button.
- cPanel will then create the addon domain and set up the specified document root directory for it.
5. Verify the Addon Domain
- Once created, you should see the new addon domain listed in the ‘Modify Addon Domain’ section.
- You can manage the addon domain from here, including setting up redirects, managing FTP accounts, or removing the addon domain if needed.
Additional Considerations
- DNS Settings: Ensure that the DNS settings for your addon domain are correctly configured to point to your hosting server. This typically involves setting the nameservers for the domain to those provided by your hosting company.
- SSL Certificates: If you have an SSL certificate for your primary domain, check if it covers addon domains. If not, you may need to obtain a separate SSL certificate for the new addon domain.
- Domain Ownership: Make sure you own or have rights to use the domain name you are adding as an addon domain.
Conclusion
Creating an addon domain in cPanel allows you to host multiple domains and websites on a single hosting account, each with its own unique content and domain name. This feature is particularly useful for managing multiple projects or websites efficiently. Remember to consider aspects like DNS configuration, SSL certificates, and domain ownership when setting up a new addon domain.