Comparisons & Alternatives

How to Create and Manage Subdomains in cPanel: Full Guide

Learn to create, edit, and delete subdomains in cPanel step by step, with examples that apply to providers like Neubox and HostGator Mexico.

Two businessmen analyze financial documents during a meeting, focusing on data trends and performance.

Creating a subdomain in cPanel takes less than two minutes: go to cPanel → Domains → Subdomains, type the prefix you want (for example store), choose the main domain, and save. The result is store.yourdomain.com, ready to serve files from its own folder.

This guide covers the complete process on any cPanel-based host — Neubox, HostGator Mexico, and the vast majority of shared hosting providers in Latin America.

What Is a Subdomain and When Should You Use One?

A subdomain is a prefix added to the main domain, separated by a dot. Technically it is a DNS A or CNAME record that points to an IP address or another hostname.

Common use cases:

  • store.yourdomain.com — an e-commerce section separate from the main site.
  • blog.yourdomain.com — a WordPress blog with its own installation.
  • app.yourdomain.com — a web application or customer portal.
  • dev.yourdomain.com — a staging or testing environment.
  • api.yourdomain.com — a REST API endpoint.

Unlike a directory such as yourdomain.com/store, each subdomain can have its own document root, SSL certificate, and independent server configuration.

How to Create a Subdomain in cPanel (Step by Step)

The process is identical in Neubox, HostGator, and any other host running standard cPanel.

Step 1 — Log In to cPanel

Access your hosting account and open cPanel. The URL is usually yourdomain.com:2083 or yourdomain.com/cpanel. You can also reach it through your provider's client portal.

Step 2 — Open the Subdomains Tool

Find the Domains section and click Subdomains. In recent cPanel versions (Jupiter), it may appear under Domains → Manage Domains or simply as Subdomains in the built-in search bar.

Step 3 — Configure the New Subdomain

Fill in the three fields of the form:

Field What to Enter Example
Subdomain The prefix you want to use store
Domain Your main domain from the drop-down yourbusiness.com
Document Root Folder where the files will live (auto-filled) public_html/store

cPanel auto-fills the document root as public_html/prefix. You can leave it as is or change it to a path of your choice. Click Create.

Step 4 — Verify the Creation

cPanel will display a success message and automatically create:

  • The folder specified in the document root.
  • A DNS A record pointing to the server IP.

The subdomain starts resolving in minutes within the same server; external DNS propagation can take up to 24 hours.

Managing Existing Subdomains: Edit and Delete

Changing the Document Root

In cPanel's subdomain list, click Manage next to the subdomain you want to modify. Change the path in the Document Root field and save. This is useful when you move files to a different folder.

Deleting a Subdomain

In the same list, click Remove. cPanel will delete the subdomain configuration and the associated DNS record, but it will not delete the folder or its files. You will need to remove those manually from the File Manager or via FTP if you no longer need them.

Redirecting a Subdomain to Another URL

If you need blog.yourdomain.com to send visitors to a different address (for example, a Medium page or a Shopify subdomain), use cPanel's Redirects tool:

  1. Go to Domains → Redirects.
  2. Select Permanent (301) or Temporary (302).
  3. In the https?://(www.)? field, enter the source subdomain.
  4. In Redirects To, enter the full destination URL.
  5. Click Add.

Enabling SSL on a Subdomain

If your plan includes free SSL with Let's Encrypt (available on Neubox and HostGator, among others), go to cPanel → SSL/TLS → Let's Encrypt SSL and issue a certificate for the new subdomain. You can also use AutoSSL if your provider has it enabled; in that case, cPanel will generate the certificate automatically at the next scheduled renewal.

The subdomain must be resolving correctly (full DNS propagation) before Let's Encrypt can issue the certificate; otherwise the process will fail with a domain validation error.

If you want to compare hosting providers by their subdomain support and free SSL offerings, elenlace.com has detailed reviews of the top services available in Mexico.

Neubox vs. HostGator: Subdomain Management Differences

Both providers use cPanel, so the creation process is virtually identical. The differences are minor and lie in the cPanel version and some client-portal options:

Aspect Neubox HostGator Mexico
cPanel Version Paper Lantern or Jupiter depending on plan Jupiter (modern version)
Subdomain Limit Unlimited on Business+ plans Unlimited on all shared plans
Free AutoSSL Available (Let's Encrypt) Available (Let's Encrypt)
Spanish Support Yes, chat and phone Yes, 24/7 chat

In practice, if you know how to use subdomains on one, you know how to use them on the other. The real differences lie in pricing, server performance, and support quality.

Key Takeaways

  • Creating a subdomain in cPanel takes less than two minutes from Domains → Subdomains.
  • The process is identical on Neubox, HostGator, and any host running standard cPanel.
  • cPanel automatically creates the folder and the DNS record when you save the subdomain.
  • Deleting a subdomain in cPanel does not delete the files in the associated folder.
  • Activate SSL for each subdomain from Let's Encrypt SSL or AutoSSL once DNS has propagated.
  • To redirect a subdomain to another URL, use cPanel's Redirects tool.

Looking for the best-performing hosting for your projects in Mexico? Check out updated comparisons at elenlace.com and choose based on real data.

FAQ

How many subdomains can I create in cPanel?

It depends on your hosting plan. Most shared plans from Neubox and HostGator offer unlimited subdomains. Basic plans may have a limit of 25 or 50; check your plan specifications in your client portal.

Does a subdomain affect the SEO of the main domain?

Google treats subdomains as independent sites. If your content is closely related, consider whether a subdirectory (/blog/) might consolidate domain authority better. For truly distinct applications or sections, a subdomain is the right choice.

Why doesn't my subdomain load after creating it?

The most common causes are: (1) DNS propagation has not finished yet — wait between 15 minutes and 24 hours; (2) the document root folder is empty or missing an index.php / index.html file; (3) the DNS record was created with a typo. Check all three before opening a support ticket.

Can I point a subdomain to a different server?

Yes. Create the subdomain in cPanel, then go to the domain's DNS Zone and edit the subdomain's A record to point to the external server's IP. You can also use a CNAME record if the destination has a hostname (for example, to point to Shopify, GitHub Pages, etc.).

Find more hosting and domain tutorials in our hosting comparisons section.

Further reading

Other providers and guides worth comparing:

← All