What are subdomains
Subdomain, which also exists as a subdomain of the public html directory, is essentially a division of your website. In addition to the primary domain name, subdomains frequently employ a prefix. One such subdomain of example.com is support.example.com.
How to Add Subdomains in cPanel
1. Firstly, login to cPanel.
2. Secondly, click on “Subdomains” icon.
3. Then, enter the prefix of your new subdomain.
4. Next, make sure to select the domain name that is associated with your subdomain. A directory name that same as your subdomain prefix will automatically appear. However, you can change this if you want.
5. Lastly, click the “Create” button.
6. That’s it! A new subdomain has been created.
7. A new folder called “clients” has also been created, which is where you would upload files for this subdomain.
How to Delete Subdomains in cPanel
- Firstly, login to cPanel.
- Then, click Subdomains under Domains section in the home screen.
- Next, locate the subdomain that you want to delete, and then click Remove under Modify a Subdomain section.
- Lastly, confirm again and click Delete Subdomain.
Redirecting a Subdomain
-
- Firstly, login to cPanel.
- Secondly, click Subdomains under Domains section in the home screen.
- If you want to redirect a subdomain, go to Modify a Subdomain section, locate your subdomain and click Manage Redirection.
- Next, type the redirection address in redirects to: text box and click Save.
- If you want to disable subdomain redirection, go to Modify a Subdomain section and click Manage Redirection.
- Lastly, click Disable Redirection.