Sub Domains

Subdomains


This section of the cPanel 11 manual will teach you everything you need to know
about Subdomains.


What is a subdomain?

A subdomain is a domain using your main domain and a prefix name. As an
example, let's say our main domain is cpx3demo.com. We want to create a
domain for our support department and direct visitors to a separate area on our
web site. Our subdomain would use "support" as the prefix and "cpx3demo.com"
as the main domain. The example of putting these two together are shown
below:


Example: support.cpx3demo.com


Consider a subdomain a url for any area on your web site. You can create the
prefix as any name you want based on your own personal preferences.
Creating A Subdomain
1. Enter the prefix you want to use for the subdomain in the "Subdomain" text
box. Based on our example above (support.cpx3demo.com), we would enter
"support" as the "Subdomain" prefix.


2. Once you place your cursor in the "Document Root" text box, it will
automatically fill in the location of your subdomain. cPanel will use the prefix you
chose in Step 1 above and add it to the root path, ie. "public_html/PREFIX" or in
our example, it would be "public_html/support." If you want to specify a particular location other than what cPanel automatically
enters for you, modify the path according to your specific needs.


3. Once you have completed the above, click on the "Create" button.


4. The next screen will indicate if your subdomain was created successfully. Click
on the "Go Back" button to return to the previous page.


5. When the page loads, you will see a table with your newly created subdomain
containing the following information, split into five columns:

  • Subdomains - This entry will be the "Prefix" you chose in Step 1 above.
  • Root Domain - This entry will be the domain used when creating your subdomain.
  • Document Root - This entry will be the "Document Root" path created in
  • Step 2 above.
  • 3 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

AddOn Domains

Addon DomainsWhat is an Addon Domain? An Addon Domain is similar to a subdomain andcreated in...

Cron Jobs

Cron Jobs Cron jobs allow you to automate certain commands or scripts on your server to...

How Do I Login To cPanel

To access cPanel: Type: https://IP:2083 into your preferred Internet browser. IP is...