How to Create a Subdomain in cPanel

Log In to cPanel 

  1. Access your cPanel login page. This is typically found at http://yourdomain.com:2083 or through your Client Control Panel. 

  1. Enter your username and password, then click "Log in." 

 

Navigate to the domains Section 

  1. Once logged in, locate the "Domains" section in the cPanel dashboard. 

  1. Click on "domains." 

 

vUzE1PYtnRcAAAAASUVORK5CYII= 

 

Add a New Subdomain 

  1. In the "Subdomains" page, you will see a form to create a new subdomain. 

 

x902Chtx6Dv7gAAAABJRU5ErkJggg== 

 

Fill in the Subdomain Details 

  1. Subdomain: Enter the desired subdomain name (e.g., blog if you want blog.yourdomain.com). 

 

  1. Domain: If you have multiple domains, select the desired domain from the dropdown menu. 

 

  1. Document Root: The document root will be filled in automatically based on the subdomain name, typically something like /public_html/blog. You can change this if you need the subdomain to point to a different directory. 

 

Create the Subdomain 

  1. After filling in the required details, click the "Create" button. 

  1. The new subdomain will be created and listed under the "Modify a Subdomain" section. 

 

+cHZ2bmtrkxpEREREdwPSBTKG1OiTPxQKhVqtrq6uZgQhIiKiuwW5AukCGQNJw9EWhP8D3Yd8bQDtCKQAAAAASUVORK5CYII= 

 

Managing Your Subdomain 

Upload Files to Your Subdomain 

  1. Use the cPanel File Manager or an FTP client to upload files to the document root directory specified for your subdomain. 

  1. The files you upload here will be accessible via your subdomain URL (e.g., http://blog.yourdomain.com). 

 

Setting Up DNS Records (if necessary) 

  1. Once you have created your subdomain, it will also need to resolve to the server's IP address, just like your main domain. To achieve this, you will need to create an A record for your subdomain. Please log in to your dashboard at axxess.co.za. Once logged in, navigate to the domain in question, then click "view" and look for your DNS zone. Please note that, after this has been the record you have recently added needs to propagate which will take about 4 hours. 

vAAAAABJRU5ErkJggg==

 

Testing Your Subdomain 

  1. Open your web browser and visit your new subdomain (e.g., http://blog.yourdomain.com) to ensure it is working correctly. 

  1. If you encounter any issues, verify the document root path and ensure the DNS settings are correctly configured.

Related articles

© 1997 - 2024 Axxess DSL (Pty) Ltd. All rights reserved.