How to Create a Subdomain in cPanel - GreenGeeks (2024)

As website’s grow over time, they may decide they want to expand their websites in new direction, and for many, using a subdomain is a great choice. You can easily create a subdomain through your cPanel account.

For example, let’s say you decide to add a member’s section to your blog where they receive content first, or exclusive content. Well, you would probably want to use a subdomain to house all of this information.

This will create a unique URL that uses the structure of https://subdomain.domain.com. This makes it easy for users to identify where they are, and easy for you to ensure the content is in the right area.

Today, I will demonstrate how to create a subdomain for your WordPress website using the cPanel.

What Is a Subdomain?

A subdomain is part of your primary domain name and acts as an extension of the domain name. It allows users to easily access different parts or areas of your website, like our member’s only example.

Another example would be for creating a shop for your site or creating a clone of your site for testing purposes.

When you create a subdomain, a record is added to your domain’s DNS zone and to the configuration file stored on your web server. This tells the server where to direct the subdomain traffic.

When Should I Use a Subdomain?

A subdomain is most commonly used when a website has a section that is separate from the primary site. Such as a blog, forum, online store, member’s area, and so forth.

Subdomains are also used for different regional or language versions of the same site. So, english.ggexample.com and spanish.ggexample.com, for instance. This can make it easier for visitors to find the right language.

For most personal or smaller sites, whether or not to use a subdomain is a matter of personal preference. Since the destination is the same whether you use a subdomain or the /directory URL, it’s really just a matter of choice.

How to Create a Subdomain Using cPanel

Creating a subdomain is quite easy through the cPanel. It is worth pointing out that creating a subdomain is free, so doing so won’t cost a penny. The process is simple and only takes a few minutes to go through.

Step 1: Locate the Subdomains Section

Start by logging into your web hosting account and accessing the cPanel. Once there locate the Domains section and click on the Domains option.

How to Create a Subdomain in cPanel - GreenGeeks (1)

Step 2: Create A Subdomain in cPanel

This area will show you all of the domains attached to your web server. To create a new one, click on the “Create A New Domain” button.

How to Create a Subdomain in cPanel - GreenGeeks (2)

As I said earlier, subdomains follow the URL structure of https://subdomain.domain.com. In this example, my domain is https://ggsexample1.com, thus my subdomain will be https://test.ggsexample1.com.

Note: Do not enter “https://” as this will display an error.

Enter the subdomain into the available text box.

How to Create a Subdomain in cPanel - GreenGeeks (3)

Below this, you will be asked if you want the subdomain to share the same root file. This is not on by default. What this means is that the files for the subdomain will be stored in the same location as the actual domain.

Since this can make things less organized, I recommend leaving the box unchecked.

Either way, check the box to enable it or leave it unchecked. The setting is permanent and cannot be changed.

How to Create a Subdomain in cPanel - GreenGeeks (4)

Finally, click on the “Submit” button to finish. After a few moments, your subdomain will be created. You will see the domain name in the list of active domains on your web server.

It is worth noting that the subdomain may not immediately be available. It may take a few minutes before it becomes available. And it may also take a few hours for the propagation period to complete.

Essentially, you’re telling the entire world that you have a new subdomain and it can take time for that to information to become available on servers across the globe.

Thus, if you run into errors like viewing a 404 page in WordPress, just give it some time and everything will clear up.

Step 3: Managing Your Subdomain

Now that your subdomain has been created, it is time to learn how you can manage it in cPanel. This includes deleting and redirecting it. All of this can be done directly from the Domain section of cPanel.

If you decide you need to delete your subdomain, simply click on the “Manage” button to access the settings.

How to Create a Subdomain in cPanel - GreenGeeks (5)

Click on the “Remove Domain” button to permanently delete it from the web server.

How to Create a Subdomain in cPanel - GreenGeeks (6)

If you want to set up a redirection for your subdomain, click on the Modify The Redirects link on the right side of the screen.

How to Create a Subdomain in cPanel - GreenGeeks (7)

This will take you to the redirection section of cPanel so you can set up what you need. Other than this, the subdomain will work identically to your actual domain. You can find the files in the File Manager, which is usually labeled with the subdomain’s name.

Subdomain FAQ

Naturally, you probably still have a lot of questions related to subdomains, so let’s cover some of the most asked questions.

Are subdomains necessary?

No. You will never need to use a subdomain and it is always a choice. You could build everything under a single domain name. Most choose to use subdomains to make file organizing easier.

Can I install a different CMS on a subdomain?

Yes. Let’s say your domain uses WordPress for your blog. You could create a subdomain and use PrestaShop to handle your eCommerce needs. Or any other CMS for that matter. The subdomain is only connected by name, so it can be very different.

What is A Wildcard subdomain?

A wildcard subdomain is used if you want to point any subdomain of your domain name to a specific directory in your site. To create a wildcard domain, use the same method detailed above, but enter * in the “Domain” field.

Do the files get deleted when I delete a subdomain?

No. The files will still be stored on the web server. You can go its root directory and delete them or transfer them at any time after deleting the subdomain name.

How many subdomains can you create?

You may create as many subdomains as you need. Some web hosting plans may limit the number you can have, but for the most part, it is nearly limitless.

Can I create a subdomain for my subdomain?

Yes. For example, let’s say you made your blog a subdomain and wanted it to be in multiple languages. Well, you could make each language a subdomain for that subdomain. The URL would look like this: english.blog.domain.com.

Do Subdomains impact my SEO?

Kind of. Subdomains are tracked separately from your domain name. This means the clicks, views, and other statistics are separate from your main domain. This can be both good and bad but ultimately depends on your SEO strategy.

Create A Subdomain in cPanel Today

As you can see, creating a subdomain in the cPanel is incredibly quick and easy. The process only takes a few minutes with a few hours of wait time before it is fully usable. As such, anyone can create one.

Now whether that is something you should do or not is up to you. Subdomains are separate in terms of SEO, but it can sometimes negatively impact you when users are constantly leaving your site to go to your subdomain.

I hope you found this tutorial helpful in creating a subdomain using cPanel.

Why did you create a subdomain? How many subdomains does your site use?

How to Create a Subdomain in cPanel - GreenGeeks (2024)

FAQs

How to Create a Subdomain in cPanel - GreenGeeks? ›

Access your cPanel by clicking the cPanel button within your GreenGeeks Dashboard homepage, or Hosting tab. Scroll down to the Domains section of cPanel, click on the “Domains” link/icon. On the Domains page, click the “Create a New Domain” button to add a new sub-domain. Deselect the “Share document root” check box.

How to add domain in cPanel GreenGeeks? ›

Log in to cPanel. In the “Domains” section, click on the Domains option. Click the “Create A New Domain” button. In the “Domain” text box, enter the domain name to add as an alias.

How to create SSL for subdomain? ›

How can I use SSL certificates for subdomains? For sub-domains security, you should go with Wildcard SSL certificate. It will secure your root domain as well all sub-domains. You must add asterisk (*) just before your common name, where * refers unlimited numbers of sub-domains.

Does each subdomain need its own SSL certificate? ›

Do subdomains need their own SSL? The answer is both yes and know. You got two option, you can either add individual SSL Certificate on each sub-domains or you can get a single Wildcard SSL Certificate to secure all your sub-domains.

How do I generate SSL keys in cPanel? ›

Login to your cPanel control panel. Find and click on SSL/TLS Manager. Click on Generate, view, upload, or delete your private keys. Click the Generate button.

What is an example of a subdomain? ›

While a subdomain will appear before your TLD, a subdirectory link will include the subdirectory name after the original TLD. For example: Subdomain example: mysubdomain.mywebsite.com. Subdirectory example: mywebsite.com/mysubdirectory.

How many subdomains can be created for one domain? ›

A domain can have up to 500 subdomains. You can create multiple levels of subdomains such as store.product.yoursite.com, test.forum.yoursite.com, etc. Each subdomain can be up to 255 characters long, but for multi level subdomains, each level can only be 63 characters long.

Does a subdomain have its own cPanel? ›

You can create a separate cPanel account for each subdomain. It's also good if you want to restrict a developer from being able to access other sites within the same cPanel account. Creating a separate cPanel account for each subdomain has its own benefits and disadvantages.

Top Articles
You will LOVE this classic Snickerdoodle cookie recipe!
The Best Peanut Soup and Salad Recipe - MY 100 YEAR OLD HOME
Sams Gurnee Gas Price
Buenasado Bluewater
Csl Plasma Birthday Bonus
Charli D'Amelio: Wie die junge Amerikannerin TikTok-Sensation wurde
Python Regex Space
My.doculivery.com/Crowncork
Log in or sign up to view
24/7 Walmarts Near Me
Whmi.com News
Morbus Castleman - Ursachen, Symptome & Behandlung
Myhr North Memorial
Sonic Fan Games Hq
Minor Additions To The Bill Crossword
Integrations | Information Technology
PNC Bank Review 2024
Clemson Sorority Rankings 2022
Osrs Mahogany Homes Calc
Gebrauchte New Holland T6.145 Deluxe - Landwirt.com
High school football: Photos from the top Week 3 games Friday
Shop - Mademoiselle YéYé
Selfservice Bright Lending
Danae Marie Supercross Flash
Madison Legistar
Baddiehub Cover
Rochester Ny Missed Connections
Saint Lukes Epulse
Week In Review: Chaos at BDSwiss , IronFX Founder's Prop Firm, US FX Deposits, and More
Craigslist Tampa: Your Ultimate Guide To Online Classifieds
Nehemiah 6 Kjv
Dl 646
Qcp Lpsg
Pervmom Noodle
Eastman Classifieds Kingsport
Odu Csnbbs
Oakly Rae Leaks
9 best hotels in Atlanta to check out in 2023 - The Points Guy
Fade En V Pelo Corto
Point Click Care Cna Login Cna
Expend4bles | Rotten Tomatoes
Claudy Jongstra on LinkedIn: Tonight at 7 PM opens NAP+, a new, refreshing and enriching addition to…
Pge Set Up Service
Sam's Club Hiring Near Me
Oriley Auto Parts Hours
The Complete Guide to Flagstaff, Arizona
Espn Masters Leaderboard
Craigslist Farm And Garden Lexington
Craig List El Paso Tx
Corn And Tater Fest 2023
Pike County Buy Sale And Trade
Barotrauma Game Wiki
Latest Posts
Article information

Author: Jamar Nader

Last Updated:

Views: 6418

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.