Find answers to your questions

Documentation

How to Create and Use Subdomains

Subdomains

Subdomains allow you to separate your website into several distinct sections. Subdomains will look like this: subdomain.yourdomain.com, where subdomain is the name of the subdomain, and yourdomain is your domain name.

Examples

Here are some common subdomains:

  • http://forum.yourdomain.com (used for the installation of a forum application on a subdomain)
  • https://secure.yourdomain.com (used for a secured access to a subdomain)
  • http://private.yourdomain.com (used for a private access to a section of your hosting account)


Why create a subdomain?

  1. Subdomains allow you to physically separate your website into multiple sections
  2. Each subdomain can have its own FTP access, which will be different from the main FTP access
  3. Secure transactions can be completed on a subdomain with an SSL certificate
  4. Each subdomain can have its own DNS entries, allowing advanced manipulations


How to create a subdomain

  1. Connect to your cPanel
  2. Under Domains, click on SubDomains
  3. Under Create a subdomain,enter the subdomain's name and select the main domain in the roll-down menu.
  4. The Document Root box will be automatically filled with the value public_html/subdomain, where subdomain is the name of the subdomain chosen in step 3. This represents the folder which will hold the subdomain's files. For example, say you upload a file test.html in the public_html/subdomain/ folder. This file will then be accessible on the internet at this address: http://subdomain.yourdomain.com/test.html.
    It is recommended to keep the suggested root document, unless you have a good reason to change it.
  5. Click on Create to create the subdomain.

Please notice that subdomains can take up to 24 hours before being fully propagated on the Internet.


How to manage subdomains

You can manage your subdomains from the same cPanel page, under SubDomains and Modify a Subdomain. You will find all the created subdomains and their management tools to their right.

Document Root contains a link which allows you to directly modify a subdomain's files with cPanel's File Manager.

In the Actions column, you will find two tools: Manage Redirection and Delete. The Manage Redirection option will allow you to redirect the subdomain to another address. For example, you could create a subdomain m which implements mobile access to your site. The address m.mydomain.com would then take you to an interface designed to be viewed on mobile devices. The Delete link allows you to delete the selected subdomain.

For help with a Nuagerie service, open or follow up on a support request in your Client Area. For general questions, use our contact form.

Related Articles

How to clear your computer’s DNS cache The DNS cache temporarily stores answers that connect domain names with network addresses. Clearing it can help when one device retains an old answer after a DNS change. It is not a general fix for HTTP 404 errors, expired certificates or a website outage. Check before changing anythingRecord the exact address and... Redirect a domain or page with cPanel An HTTP redirect sends visitors from one web address to another. It is useful for a moved page, a domain change or a short address. It transfers neither website files nor email accounts. A CNAME record serves a different purpose: it links names in DNS. Prepare the source and destinationThe destination must already... Understand domains, aliases and subdomains A domain name can serve a website, email addresses and other services. Before adding it to your hosting account, decide what you want to connect: a new website, another address for the same website or a subdomain. Registration, DNS and hosting have different roles Domain registration: this concerns the name itself,... Choose your website’s main address: with or without www Your website may be reachable with or without www, over HTTP or HTTPS. Choosing a consistent main address simplifies links, tracking and navigation. Each alternative address should lead to the right page at the chosen HTTPS address. Choose an address that fits your siteUsing www does not, by itself, provide a... What happens once my domain expires? An expired domain can interrupt your website, email and other services that use its name. The timing and recovery options depend on the domain extension, the registrar’s terms and the domain’s current status. Act promptly rather than assuming that a fixed number of extra days is available. Understand the domain’s...