Subdomains are an excellent way to organize your website content, allowing you to create separate sections like blog.yourdomain.com or shop.yourdomain.com. With OzSpeed’s hPanel, it’s easy to create and manage subdomains. Here’s a step-by-step guide on how to create and delete subdomains.
Part 1: How to Create a Subdomain #
Step 1: Log in to hPanel #
- Visit ozspeed.com.au and log in to your hPanel Dashboard.
- Navigate to the Domains section.
Step 2: Open the Subdomains Menu #
- Click on “Subdomains” in the Domains section.
- You will see a form for creating a new subdomain.
Step 3: Enter Subdomain Details #
- In the Subdomain field, enter the name you want (e.g., blog, shop, support).
- Choose the parent domain from the dropdown menu (e.g., yourdomain.com).
- The Document Root will be automatically set (e.g., /public_html/blog). This is the folder where your subdomain’s files will be stored.
Step 4: Create the Subdomain #
- Click “Create” to add the subdomain.
- You will see a confirmation message once the subdomain is successfully created.
Tip: #
- You can now upload files to the subdomain’s document root folder (e.g., /public_html/blog), or use the Auto Installer to set up a new WordPress site for the subdomain.
Part 2: How to Delete a Subdomain #
Step 1: Access the Subdomains Menu #
- Log in to your hPanel Dashboard.
- Go to Domains > Subdomains.
Step 2: Select the Subdomain to Delete #
- Find the subdomain you want to delete from the list.
- Click on the “Delete” button next to the subdomain name.
Step 3: Confirm the Deletion #
- A pop-up window will ask you to confirm the deletion.
- Click “Confirm” to proceed.
Important: #
- Deleting a subdomain will remove the subdomain’s files and folders permanently. Make sure to back up any important data before proceeding.
Tip: #
- After deleting a subdomain, the folder (e.g., /public_html/blog) may still exist. You can manually delete it using the File Manager if needed.
Part 3: Managing Subdomains #
Edit Subdomain Settings #
- Go to Domains > Subdomains in hPanel.
- Click on the subdomain name to edit its settings, such as:
- Document Root: Change the folder where the subdomain’s files are stored.
- SSL Certificate: Enable SSL for secure browsing on the subdomain (e.g., https://blog.yourdomain.com).
Redirect a Subdomain #
If you want to forward traffic from your subdomain to another URL:
- Go to Domains > Redirects.
- Choose the subdomain from the dropdown menu and enter the destination URL.
- Click “Create Redirect”.
Common Use Cases for Subdomains #
- Blog: Create a subdomain like blog.yourdomain.com for a separate blog section.
- Online Store: Use shop.yourdomain.com to host your e-commerce platform.
- Support Portal: Set up support.yourdomain.com for a customer support site or help desk.
- Staging Site: Create staging.yourdomain.com to test changes before applying them to your main website.
Additional Tips: #
- Enable SSL: Always enable an SSL certificate for your subdomains to secure user data and improve SEO rankings.
- Monitor Performance: Use the Analytics section in hPanel to monitor traffic and resource usage for your subdomains.
- Back Up Regularly: Schedule regular backups of your subdomains, especially if they host important content or customer data.