How to Add a Domain in cPanel (Primary vs Addon Domain)

Estimated reading: 1 minute

DNS sends visitors to the server, but cPanel must also be configured to serve the domain from a folder. This step is required for the site to load correctly.

Primary domain

Your primary domain is the main domain for the hosting account, usually served from:

  • public_html

Addon domain (additional website)

An addon domain is a separate website hosted under the same account. When you add it, cPanel creates a document root folder like:

  • public_html/example.com/ (varies by setup)

Steps to add a domain

In cPanel:

  • Open Domains
  • Choose Create A New Domain
  • Enter your domain name
  • Set the document root folder
  • Save

After adding the domain

Upload your website files to the document root folder. If you upload files to the wrong folder, you may see a blank page or default page.

  • Limited-Time Offer

WordPress Hosting — Just $1/month for 12 months

Only 37 spots left

Get WordPress-ready hosting with free SSL, fast NVMe storage, malware protection, and 24/7 expert support—everything you need to launch and keep your website running smoothly.

12-month term • New customers only • Limited availability

Launchpad