How to set up a subdomain for your website.

A subdomain is an extension of your main domain—think blog.yourwebsite.com or shop.yourwebsite.com. Subdomains are great for organizing your website, hosting different sections, or running separate apps (like a forum or store). Setting one up is easier than you might think!


1. Decide on Your Subdomain Name

First, choose what you want your subdomain to be called. Some common examples:

  • blog.yourwebsite.com (for a blog)
  • shop.yourwebsite.com (for an online store)
  • support.yourwebsite.com (for customer support)

You can use almost any word or phrase (without spaces or special characters).


2. Log in to Your Hosting or Domain Control Panel

  • If your hosting provider manages your DNS (common if your nameservers point to your host), log into your hosting account (e.g., Tremhost cPanel or similar).
  • If your DNS is managed with your domain registrar, log in there.

3. Find the Subdomain or DNS Management Section

  • In cPanel, look for a section called “Subdomains”.
  • In other control panels or registrars, look for “DNS Management,” “Zone Editor,” or similar.

4. Create the Subdomain

If using cPanel or similar hosting control panel:

  • Go to Subdomains.
  • Enter your subdomain prefix (e.g., blog).
  • Choose your main domain from the dropdown.
  • The system will automatically create the subdomain and set up a new folder for its files (like /public_html/blog).
  • Click Create.

If editing DNS manually:

  • Go to the DNS management section.
  • Add a new A record for your subdomain:
    • Name/Host: The subdomain prefix (e.g., blog)
    • Type: A
    • Value/Points to: The IP address of the server where the subdomain should go (often the same as your main site, unless you’re hosting it elsewhere)
  • Save your changes.

Note: You can also use a CNAME record if you want your subdomain to point to another domain name (such as a hosted blog platform).


5. Upload or Build Your Subdomain’s Content

If your subdomain is hosted on the same server:

  • Use your hosting file manager or FTP to upload files to the new subdomain folder (e.g., /public_html/blog).
  • Install a CMS (like WordPress) or upload your site files as needed.

If your subdomain points elsewhere (like an external shop or blog), follow the third-party service’s setup instructions.


6. Wait for DNS Propagation

If you made DNS changes, remember: it can take a few minutes to 24 hours for your new subdomain to become available everywhere.


7. Test Your Subdomain

Type your subdomain (e.g., blog.yourwebsite.com) into your browser. You should see your new site or folder!


In Summary

  1. Choose your subdomain name.
  2. Log in to your hosting or DNS control panel.
  3. Use the Subdomains or DNS management tool to create the subdomain.
  4. Upload or build content for your subdomain.
  5. Wait for DNS propagation and test your new subdomain.

Hot this week

How to Install and Configure Plesk on a Dedicated Server

Installing Plesk on a dedicated server can feel like...

Plesk vs cPanel for Hosting Providers: Which Control Panel Should You Choose?

If you run a hosting business, web agency, reseller...

Best Plesk License for VPS Hosting: Features, Pricing, and Use Cases

If you are running websites on a VPS, choosing...

Common cPanel License Errors and How to Fix Them Quickly

Few things are more frustrating than buying a cPanel...

How to Install cPanel on a VPS: Step-by-Step Setup Guide for Beginners

Installing cPanel on a VPS sounds intimidating the first...

Topics

How to Install and Configure Plesk on a Dedicated Server

Installing Plesk on a dedicated server can feel like...

Plesk vs cPanel for Hosting Providers: Which Control Panel Should You Choose?

If you run a hosting business, web agency, reseller...

Best Plesk License for VPS Hosting: Features, Pricing, and Use Cases

If you are running websites on a VPS, choosing...

Common cPanel License Errors and How to Fix Them Quickly

Few things are more frustrating than buying a cPanel...

How to Install cPanel on a VPS: Step-by-Step Setup Guide for Beginners

Installing cPanel on a VPS sounds intimidating the first...

Best cPanel License Bundles for Web Hosting Businesses

Running a hosting business is not just about getting...

cPanel VPS vs Dedicated License: What’s the Difference and Which Is Better?

Choosing between a cPanel VPS license and a cPanel...
spot_img

Related Articles

Popular Categories

spot_imgspot_img