How to configure subdomains in cPanel
This article describes how to add, redirect, and delete subdomains using cPanel.
About subdomains
A subdomain is a domain that is part of a larger domain, based upon a prefix name that you choose. For example, the example.com domain might have a subdomain for the support department that directs visitors to a separate area of the website. If the subdomain prefix is supported, then the fully qualified domain name (FQDN) is support.example.com.
You can use subdomains whenever you want to create separate areas on your website that are accessible using different FQDNs.
Adding a subdomain
To add a subdomain, follow these steps:
1-In the DOMAINS section of the cPanel home screen, click Subdomains:
2-Under Create a Subdomain, type the name of the subdomain that you want to add in the Subdomain text box.
Redirecting a subdomain
You can redirect website visitors from a particular subdomain to another location. This feature is often used when the subdomain's web pages have moved to a new location. For example, you might redirect the sales.example.com subdomain to the salesnew.example.com subdomain.
Enabling subdomain redirection
1-In the DOMAINS section of the cPanel home screen, click Subdomains:
2-Under Modify a Subdomain, locate the subdomain that you want to redirect, and then click Manage Redirection.
3-On the Redirection page, type the redirection destination address in the redirects to: text box.
4-Click
.