How do I create and manage Subdomains?

A subdomain is a simple way to create a separate "section" of your website without buying a new domain name. If your main website is yourbusiness.com, a subdomain would look like shop.yourbusiness.com or blog.yourbusiness.com. It acts like a completely separate website but is still connected to your main account.

This guide explains how to create these addresses and manage where they send your visitors.

What Is a Subdomain?

Think of your main domain name as your property address. A Subdomain is like building a guest house or a workshop on that same piece of land. It shares the main address but has its own entrance and purpose.

Subdomains are often used to organize different parts of a business, such as:

Store: shop.example.com

Support: help.example.com

Blog: blog.example.com

This separation allows you to run different software or designs for specific parts of your business while keeping your brand name visible.

How to Create a Subdomain in cPanel

Creating a subdomain is a quick process usually done through your hosting dashboard (cPanel). Here is the standard method:

1. Log in to your cPanel dashboard.

2. Look for the Domains section and click on Subdomains (or "Create A New Domain" in newer versions).

3. Enter the name you want to use (e.g., "shop" or "blog") in the text box.

4. The system will automatically suggest a folder (called the "Document Root") where this subdomain’s files will live. You can usually leave this as is.

5. Click the Create or Submit button.

Once you create the subdomain, a new folder with that name is added to your file manager. You upload the specific files for that section of your site into this new folder.

Pointing Your Subdomain (DNS Records)

Sometimes, you want your subdomain to point to a specific location, like a different server or a third-party service (e.g., Shopify or a helpdesk portal). To do this, you use DNS Records.

Pointing to an IP Address (A Record): If your new "shop" is hosted on a different server, you will need that server's "IP Address" (a string of numbers). You create an A Record in your DNS settings that points shop.yourbusiness.com to that specific number.

Pointing to Another Name (CNAME): If you want your subdomain to act as an alias for another web address (like pointing blog.yoursite.com to yoursite.com), you use a CNAME Record. This tells the internet, "When someone asks for the blog, treat it as if they asked for the main site".

You should not mix record types for the same name. If you create a CNAME for a subdomain, you should not also have an A Record for it.

Redirecting a Subdomain

If you move your content or just want a subdomain to act as a shortcut, you can set up a Redirection.

This tells the internet that anyone visiting events.yourbusiness.com should be instantly forwarded to a different link, such as a Facebook event page or a specific page on your main site. You can manage this in the "Subdomains" section of cPanel by clicking "Manage Redirection".

It takes time for the internet to recognize a new subdomain. This delay is called "propagation." You might need to wait up to 24 hours before the new address works for everyone.

Managing and Deleting Subdomains

If you no longer need a subdomain, you can delete it from the same menu where you created it.

However, deleting the subdomain (the address) often does not delete the folder containing its files. To keep your account clean, you may need to manually go into your File Manager and delete the folder associated with that old subdomain.

Important Terms Explained

Subdomain A prefix added to your main domain name (e.g., blog. in blog.example.com) to create a separate section of your site.

Document Root The specific folder on your hosting account where the files for your subdomain are stored.

A Record A type of DNS record that points your subdomain directly to a numerical IP address.

CNAME Record A type of DNS record that points your subdomain to another domain name (an alias) rather than an IP address.

Wildcard Subdomain A setting (using a * symbol) that catches any random subdomain someone types (like random.yourdomain.com) and sends them to a specific place.

Key Takeaway

Creating a Subdomain is an excellent way to organize your website into distinct sections like a blog, store, or support portal. You can create them easily in cPanel and control exactly where they send your visitors using A Records or Redirections.

Remember that while subdomains are useful for separation, search engines treat them as separate sites. If you want all your "SEO credit" in one place, using a simple folder (like yourbusiness.com/blog) might be a better choice than a subdomain.

Names shape memory before content shapes meaning.