Parking a Domain on top of An Addon Domain (cPanel)

Parking a domain on top of an addon domain in cPanel can be a quick, easy way to change the domain on a site without mussing with files or database connections and the like. If you’re using a database-driven site, however, be sure to make the relevant changes to the database.  ((Thanks to Hostgator Support for this helpful info.))

  1. Login to cPanel and click Addon Domains–and not parked domains.
  2. In the field to the right of “New Domain Name,” type the domain name you wish to park on top of your addon domain
  3. Click outside the text box and your other settings will populate.
  4. Under “Document Root:” remove everything except “public_html”
  5. Look down to your current addon domain and its “Document Root” – normally a folder named after the original domain.
  6. Take the “Document Root” and insert it in the field to the right of “Document Root:” at the top.
  7. Insert any password in the password field. (You won’t need to remember this password, so just use the Generate Password button.)
  8. Click Add Domain
Share Button

Addon Vs. Parked Domains in cPanel

Where is the info for Addon Domains stored in Apached? Parked domains? cPanel Docs gives us an answer:

Addon Domains Parked Domains
Main domain appears in the address bar Yes No
Apache directive used VirtualHost ServerAlias
Separate logs Yes No
Separate stats Yes No
Treated as a subdomain (other than URL) Yes No
Ideal for multiple domains sharing the same address No Yes

Deleting an addon domain won’t delete the files or databases associated with that domain. A parked domain, of course, won’t have files or databases associated with it.

Share Button