Sub Domains

Understanding Subdomains and How to Use Them

When browsing a website, you might notice that the URL changes based on different sections or pages. This variation is often due to the use of subdomains. A subdomain is an additional part of your main domain name and is used to organize and navigate different sections of your site. Here's a closer look at subdomains and how you can effectively use them:

What is a Subdomain?

A subdomain is a prefix added to your main domain name, separated by a dot. It helps in dividing your website into various segments or distinct sections. For example, in the URL blogname.com, the root domain is blogname.com, while sport.blogname.com and fashion.blogname.com are subdomains created for specific topics or sections of the blog.

Common Uses of Subdomains

  1. Organize Website Content: Subdomains are often used to segment different functions or sections of a website. For example:

    • blog.example.com for a blog
    • store.example.com for an online store
    • forum.example.com for a discussion forum
    • 1021
    • 1292
    • 951
  2. Language Versions: You can use subdomains to offer different language versions of your website:

    • en.example.com for English
    • fr.example.com for French
  3. Mobile Versions: Create a mobile-friendly version of your website:

    • m.example.com for a mobile site
  4. Special Sections or Single Pages: Subdomains can also direct users to specific sections or pages:

    • hireme.example.com for a personal portfolio or contact form
  5. Geographic Segmentation: Create regional subdomains:

    • north.example.com and south.example.com for different geographic locations

How to Add a Subdomain in cPanel

  1. Log into cPanel: Navigate to your cPanel dashboard.

  2. Go to the Domains Section: Click on “Domains” to access the subdomain management interface.

  3. Create a New Subdomain:

    • Click on “Create A New Domain.”
    • Enter your desired subdomain in the first field (e.g., “north” for north.example.com).
    • In the “Domain” field, select the domain name to which you are adding the subdomain.
    • Specify the “Document Root,” which is the directory where the subdomain’s files will be stored (e.g., public_html/north).
  4. Save Changes: Click “Create” to finalize and add the subdomain.

Conclusion

Subdomains are a valuable tool for organizing and managing your website’s content. They help in creating distinct sections or services, offering language-specific content, and segmenting your website for better user experience. By adding subdomains, you can effectively manage different aspects of your website and enhance its functionality.

  • 0 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

How to Manage domains in cPanel

The new "Domains" section in cPanel integrates Redirects, Subdomains, and Addon Domains into a...

How Long Does DNS Take to Propagate

Understanding DNS Propagation Time When you update your domain's name servers, the changes...

Running Multiple Websites

  Managing Multiple Websites with Verpex Hosting Managing multiple...

Addon Domain

Understanding Addon Domains An addon domain is an additional domain name that you can add to...

Powered by WHMCompleteSolution