cPanel stands out as a prominent control panel utilized for the management of domains, databases, and various aspects of web hosting services. It serves as a valuable tool for clients to oversee their hosting accounts. In this knowledge base, we delve into the topic of subdomains.
A subdomain is created when it exists as a subdirectory within your public_html (document root) directory or your account's home directory. Subdomains employ a prefix in conjunction with the domain name.
If you are unfamiliar with the process of creating a subdomain through cPanel, this guide will provide step-by-step instructions for your convenience.
1. Login to cPanel:
Open your web browser and visit your cPanel login page, typically accessed at https://yourdomain.com/cpanel.
-
Enter your cPanel username and password to sign in.
2. Find the "Subdomains" Section:
-
After logging in, locate the "Domains" section within cPanel.
-
Identify the "Subdomains" icon and click on it.
3. Input Subdomain Details:
-
Within the "Create a Subdomain" section, furnish the following details:
-
Subdomain: Enter the preferred subdomain name (e.g., "blog" for "blog.yourdomain.com").
-
Domain: Select the domain for which you are creating the subdomain from the provided drop-down menu.
-
Document Root: This designates the directory where the files of the subdomain will be stored, typically auto-generated by cPanel based on the subdomain name.
4. Click "Create":
- After providing the necessary information, click the "Create" button. This action will initiate the creation of the subdomain and configure the essential directories.
5. Confirmation:
- A confirmation message will appear, confirming the successful creation of the subdomain.
6. Verify Subdomain:
- Confirm the creation of the subdomain by attempting to access it in your web browser. For instance, if you established a subdomain named "blog," try accessing "blog.yourdomain.com."
All done! You have effectively created a subdomain using cPanel. Note that it may take some time for the changes to propagate across the internet, so immediate access to your new subdomain might not be available right after creation.