How To Set Up A Subdomain On cPanel

How To Set Up A Subdomain On cPanel

This interface allows you to create and manage subdomains for your cPanel account. A subdomain is a subsection of your website that sometimes exists as a subdirectory of your public_html (document root) directory or your account’s home directory. Subdomains use a prefix in conjunction with the domain name.

For example, if the registered domain name is example.com, the subdomain will be prefix.example.com. You can use subdomains to create unique user accounts for “vanity domains.” This is helpful if, for example, you have a blog, or any other type of website that uses a domain specifically titled for a user.

Note: Visitors cannot view your subdomain immediately. Changes to DNS records may require two days or more to reach all of the nameservers on the Internet.

Create a subdomain

To create a subdomain, perform the following steps:

Enter the desired prefix in the Subdomain text box.

Select the desired main domain from the menu.

Enter the home directory for the subdomain in the Document Root text box.

Note: This directory contains the files that pertain to the subdomain.

Click Create.

Leave a Reply 0