There was a problem loading the comments.

How to setup Addon domain on cPanel?

Support Portal  »  Knowledgebase  »  Viewing Article


Addon domain is a fully hosted domain with branded sub-domains, POP email account, FTP account, private CGI-BIN, private FrontPage extensions. dedicated content, dedicated mySQL databases and script installations, accessible via, but within the same control panel as your Primary Domain.

Steps to setup Addon domains:

(1) Add the addon domain (say ) via CPANEL to your hosting account. See tutorial at

(2) Create email accounts for the addon domain from CPANEL like and access them via your email client with POP/SMTP server .

(3) Upload content of using the FTP user created for addon domain in step 1, with the following details,
Server: IPaddress , Username: and Password: as specified when adding Addon domain in CPanel
or Upload data to directory /public_html/domain2/ using the FTP details of your primary domain.

(4) Change DNS settings of to that specified in 'Activation email' for the 'Primary domain'. Once the DNS changes have propagated (takes 4-48hours depending on your ISP & domain registrar), you adddomain will start working via

(5) Setup redirect of to
This can be done by adding the following lines to the .htaccess file in your directory /public_html/domain2/

RewriteEngine on
RewriteCond %{HTTP_HOST} ^$ [OR]
RewriteCond %{HTTP_HOST} ^$
RewriteRule ^(.*)$ [R=301,L]
RedirectPermanent /domain2

Your addon domain is now ready for visitors!

#This configuration is makes a fully hosted domain, except for control panel access. If you need a separate Control Panel access for , then you need to signup for another hosting account.

#Please remember migration from Addon domain to Primary domain later will require a complete re-setup of the domain.

Share via
Did you find this article useful?  

Related Articles


Add Comment

Replying to  

Self-Hosted Help Desk Software by SupportPal