How to Add and Manage Domains and Subdomains in cPanel
cPanel is a popular control panel used by many web hosting providers to manage websites and server settings. One of the key features of cPanel is the ability to easily add and manage domains and subdomains. In this guide, we will walk you through the process of adding and managing domains and subdomains in cPanel.
Adding a Domain in cPanel
Adding a new domain to your cPanel account is a simple process. Follow these steps to add a domain:
- Login to your cPanel account.
- Click on the "Domains" icon.
- Click on "Add Domain."
- Enter the domain name you want to add in the "New Domain Name" field.
- Click on "Add Domain."
Once you have added the domain, you can upload your website files to the public_html directory in your cPanel account to make your website live.
Managing Domains in cPanel
After adding a domain to your cPanel account, you can manage it easily. Here are some common tasks you can perform:
- Creating email accounts associated with the domain.
- Setting up domain redirects.
- Managing domain DNS settings.
- Installing SSL certificates for the domain.
Adding a Subdomain in cPanel
Subdomains allow you to create separate websites under your main domain. Follow these steps to add a subdomain in cPanel:
- Login to your cPanel account.
- Click on the "Subdomains" icon.
- Enter the name of the subdomain you want to create in the "Subdomain" field.
- Choose the domain under which you want to create the subdomain from the drop-down menu.
- Click on "Create."
Your subdomain will be created, and you can upload your website files to the subdomain directory to make it live.
Managing Subdomains in cPanel
Once you have created a subdomain in cPanel, you can manage it easily. Here are some common tasks you can perform:
- Assigning a document root for the subdomain.
- Creating email accounts associated with the subdomain.
- Setting up subdomain redirects.
- Managing subdomain DNS settings.
Conclusion
Adding and managing domains and subdomains in cPanel is a straightforward process that allows you to easily create and manage websites under your hosting account. By following the steps outlined in this guide, you can add new domains and subdomains, as well as perform various management tasks to keep your websites running smoothly.