To create a subdomain in cPanel, follow these steps:
- Log in to your cPanel account.
- In the "Domains" section, click on the "Subdomains" icon.
- In the "Subdomain" field, enter the name for the new subdomain.
- In the "Domain" dropdown menu, select the domain that you want to create the subdomain for.
- In the "Document Root" field, enter the directory where you want to store the files for the subdomain (optional).
- Click on the "Create" button.
To delete a subdomain in cPanel, follow these steps:
- Log in to your cPanel account.
- In the "Domains" section, click on the "Subdomains" icon.
- In the list of subdomains, find the subdomain that you want to delete, and click on the "Remove" button.
- In the confirmation window, click on the "Remove Subdomain" button.
Subdomains are useful for organizing your website's content and creating separate areas for different purposes (e.g. a subdomain for a blog, a subdomain for a forum, etc.). It is important to regularly review and manage the subdomains on your website to ensure that they are up-to-date and working correctly.