How to Add Addon Domains & Subdomains in cPanel
Step-by-step guide to creating addon domains, subdomains, uploading files, and configuring permissions in cPanel.
Plan Before Adding
- Confirm domain ownership and where DNS is managed (registrar or hosting).
- Decide the document root (e.g.,
public_html/addon.com). - Check disk quota and subdomain limits on your cPanel plan.
Create an Addon Domain
- Log into cPanel → Domains → Addon Domains.
- Enter the new domain name (example.com). Adjust the subdomain and document root if needed.
- Optionally set a password for FTP access to the addon domain.
- Click Add Domain. cPanel creates the folder under the document root.
Note: If you remove or rename the folder later, update the addon domain settings or move files to the correct folder.
Create a Subdomain
- Go to Domains → Subdomains.
- Enter the subdomain (e.g.,
blog) and select the domain. - Set the document root (e.g.,
public_html/blog) and click Create.
Upload Initial Files (File Manager)
- Open File Manager and navigate to the document root for your addon domain.
- Click Upload and select your site files or a zip archive.
- If you uploaded a zip, select it and click Extract into the folder.
- Ensure an
index.htmlorindex.phpexists at the root.
Set Permissions & FTP Access
- Directories:
755— Files:644. - Right-click a file or folder in File Manager → Change Permissions.
FTP access: Create an FTP account under Files → FTP Accounts and point it to the addon domain folder.
Preview & Update DNS
- Preview the site using the hosts file locally or temporary URL provided by your host.
- Update the domain's A record at the DNS provider to point to your hosting IP to go live.
- Allow propagation; test with
https://example.com.
Checklist
- [ ] Verify domain and DNS provider - [ ] Create addon domain / subdomain in cPanel - [ ] Upload website files to the correct document root - [ ] Ensure index file exists and permissions are correct - [ ] Update DNS A record to hosting IP - [ ] Test site from multiple devices