How To Create A Subdomain In WordPress? (Best solution)


  1. Go to your Domains page (My Site → Upgrades → Domains) and click the domain you wish to add the subdomain to.
  2. Click Name Servers and DNS, then DNS Records.
  3. Click Add a record.
  4. In Type select CNAME or A.
  5. Enter the subdomain you want in Name.


How do I create a subdomain for my website?

How to Create a Subdomain

  1. Log in to your Domains Dashboard.
  2. On the dashboard, select the domain where you’re creating a subdomain.
  3. Choose the domain you wish to modify.
  4. Click on Pointers & Subdomains in the left-hand menu.
  5. Click the blue Add Subdomain button.
  6. The new subdomain will be shown where it was added.

Are WordPress subdomains free?

blog subdomains work just like the regular subdomains — they don’t expire, they’re free to use for the lifetime of your site, and you can always replace them with a custom domain at any time.

How do I manage subdomains in WordPress?

To do this in cPanel, look for the Subdomains tool in the Domains section: On the next screen, enter your desired subdomain in the Subdomain box and also select the parent domain via the Domain drop-down. There’s no need to add a dot after the subdomain – just enter the text you want to use.

How do I create a WordPress subdomain and install it?

How to Install WordPress on a Subdomain

  1. Step 1: Create a Subdomain of Your Root Domain.
  2. Step 2: Download WordPress.
  3. Step 3: Create a New Database and Users.
  4. Step 4: Upload Your WordPress Installation Files.
  5. Step 5: Run the WordPress Installation Script.

Can a subdomain have a different WordPress theme?

and yes you can use another theme etc for your subdomain. You can’t literally use another theme on the same installation, but “theme” is just an abstraction after all, it can be made of an unlimited number of completely different templates, so

How do I setup a multisite subdomain in WordPress?

Create the subsite within your WordPress Multisite website:

  1. Open your websites wp-admin.
  2. Navigate to My Sites > Sites ( /wp-admin/network/sites.php )
  3. Click Add New at the top.
  4. Fill out all fields: Site Address — Never use “www” Subdomain: Subdirectory:

What is a subdomain example?

In the Domain Name System (DNS) hierarchy, a subdomain is a domain that is a part of another (main) domain. For example, if a domain offered an online store as part of their website, it might use the subdomain

Are subdomains free?

Are Subdomains Free? If you own a domain then yes, you can enjoy free website subdomains! It’s your site, and completely up to you how you want to structure and grow your idea.

How do I create a subdomain in one com?

Easy steps to create a subdomain:

  1. Log in to cPanel with the details your host provided when you opened the account.
  2. Scroll to the Domains section and click Subdomains.
  3. Type the name of the new subdomain you want to create in the box.
  4. Select the domain for which you want to create a subdomain.

What are subdomains on a website?

A subdomain is, as the name would suggest, an additional section of your main domain name. You create subdomains to help organize and navigate to different sections of your main website. Within your main domain, you can have as many subdomains as necessary to get to all of the different pages of your website.

How do I create a subdomain in WordPress Godaddy?

From the Managed WordPress section select Manage for the site you want to use. In this control panel, open the Settings tab at the top. In the Domains section, select Attach Domain. From the pull-down menu, select Add an external domain or subdomain or select a specific domain within your account.

How do I create a subdomain in cPanel?

Set Up: Creating a subdomain in cPanel

  1. Click on Subdomains under Domain in cPanel.
  2. Under Create a Subdomain, enter the name of the subdomain you want to create in the Subdomain text box.
  3. cPanel automatically fills in the document root path by using the subdomain name you’ve entered.
  4. When ready, click Create.

How to Setup a Subdomain on Your WordPress Site

Subdomains are an excellent way to distinguish between websites, clearly dividing them and assigning them to specific target audiences in order to provide better and more unique experiences. Learn what subdomains are, why you should use them, and how to set up a subdomain on your WordPress website. There are many different purposes for different websites — some are for commercial purposes, others are for informational purposes, and still others are for marketing purposes. Many people are unaware that a single website can be further divided into smaller websites, each serving a different purpose.

Subdomains can be used to accomplish this — to divide your website into smaller websites — by creating subdomains.

It enables you to create a separate “part” of your main domain — for example, — that acts as a separate website from the rest of your site.

When Should You Use a Subdomain on WordPress?

Subdomains are completely unique websites, and you should use a subdomain when you wish to provide a completely different experience from the one provided by your main domain. Let’s take a look at a few real-world examples of how we use subdomains at Elementor to demonstrate our point. Our primary website,, is intended for frequent Elementor users as well as others who are interested in learning more about Elementor, its capabilities, and its widgets and extensions. After that, we have a number of subdomains that provide a variety of experiences.

  • Customers of Elementor may access their account dashboard at It is the location where you can manage your license, subscription, websites, and so on
  • – this subdomain is dedicated solely to developers who wish to work with Elementor’s code
  • And – this subdomain is dedicated solely to customer support. For normal Elementor users, it isn’t very relevant, which is why it makes sense for it to exist on its own subdomain: – this subdomain is reserved for persons who wish to work at Elementor. For those who want to use Elementor on their own websites, this is not very significant, which is why it has its own subdomain
  • Nonetheless, it is relevant for those who want to use Elementor on their own websites.

Other instances in which a subdomain could be appropriate include:

  • Blog for your e-commerce store– If your primary site is an e-commerce store, you might build a subdomain to host your store’s blog, which would provide a unique experience from browsing for your items. Using subdomains to separate the sites for different areas might be useful if you have a bilingual site or otherwise localize your sites for different regions. You may, for example, have (Germany), (France), and so on and so forth. Creating subdomains for multiple product lines might be a good idea if you have several different product lines that are entirely different. Disney, for example, has,, and so on
  • And so on. Staging sites– you may establish a WordPress staging site on a subdomain, such as, to test your site’s functionality. landing pages– If you want to establish a landing page that is different from your main website, you might use a subdomain to accomplish so

Another typical method of separating different sections of your website is to utilize a subfolder, which is added after your primary domain name rather than before it: When it comes to blogs, you’ll notice that some sites employ the subdomain strategy, while others employ the subfolder approach. You should generally utilize the subfolder strategy when your blog is closely associated with your main domain name and the subdomain approach when your blog is distinct from your main domain name (e.g.

At Elementor, we employ a hybrid strategy that combines the best of both worlds.

How To Install WordPress on a Subdomain

First and foremost, you must establish the real subdomain in your hosting panel before you can proceed with the installation of WordPress on it. To accomplish this in cPanel, locate the Subdomainstool under theDomainssection and click on it: On the following screen, enter your chosen subdomain in theSubdomainbox and, using theDomaindrop-down menu, pick the parent domain from the list.

After the subdomain, there is no need to input any further text; simply enter the text you wish to use. In order to construct, you would configure it in the following manner:

2. Install WordPress To That Subdomain

Once you’ve created your subdomain, you may utilize the WordPress auto-installer provided by your web server to install WordPress on that subdomain, saving you time and effort. When you install WordPress, you’ll be able to choose your subdomain in the same way you would any other domain: Once you’ve done that, everything functions precisely as if you were installing WordPress on your primary domain name.

Do Subdomains Affect SEO?

In addition, search engine optimization is a crucial consideration while creating subdomains (SEO). Because a subdomain is technically considered a “different” website, some users are concerned that search engines may not convey the authority associated with the primary domain name to the subdomain. Suppose you have and, and some people are concerned that the blog would not benefit from the authority of the main domain name because of this. In the words of Google’s John Mueller, “Google can figure things out for itself,” and “subdomains and subfolders” have no intrinsic SEO value on their own.

There are still some SEO professionals who are opposed to this and are concerned that a subdomain would not inherit the full authority of its parent domain, which might have a detrimental influence on the ranks of material on the subdomain.

When employing subdomains, one crucial SEO issue to keep in mind is that you will need to add each subdomain to Google Search Console separately, and each subdomain will have its own set of data.

Additionally, according to John Mueller, the use of subdomains might make it significantly more difficult for Google to figure out how to crawl your website.

What Are the Pros and Cons of a Subdomain?

Let’s take a look at some of the advantages and disadvantages of using a subdomain to wrap things up.

  • Experiences that are distinct– subdomains make it easy to provide consumers with totally diverse experiences. Experiences that are more optimized – relating to the previous example, developing various experiences allows you to optimize each experience for the user rather than attempting to fit everything into the same basic site design
  • Easier administration– if your sites have vastly different content, having each site be a distinct WordPress installation on a subdomain may make your administrative tasks simpler. The option of using fully independent hosting providers for each subdomain is available if desired, and it may be beneficial in some instances.
  • Added complexity– because each subdomain is treated as a distinct site, your setup will be more complicated. You could have to manage two different WordPress installations rather than a single unified installation, for example. The same is true for Google Search Console, where you’ll need to check the validity of both domains. When it comes to SEO, while Google states that you can utilize subdomains or subfolders, some SEO experts still recommend that you strive to use subfolders wherever feasible.

Using Lots of Subdomains? Try WordPress Multisite

You could be better off constructing a WordPress multisite network instead of creating individual WordPress installations on each subdomain if you want to create tens or hundreds of WordPress installs on different subdomains. Consider the following scenario: you operate a small business with ten separate locations, and you want each location to have its own subdomain on the Internet. To save time and effort, rather of installing ten distinct WordPress installations, you may utilize a WordPress multisite installation and construct a network site on each subdomain.

Use Subdomains the Right Way and Reap Their Benefits

WordPress subdomains may be a valuable tool if you want to provide different experiences for your users or if you want to build clearly differentiated sections of your site on a larger scale. First and foremost, you’ll need to add your subdomain to your hosting panel before you can begin installing WordPress on it. Then you may use the auto-installer tool provided by your web server to install WordPress on that subdomain in order to start your website.

For those who wish to employ a large number of distinct subdomains, setting up their own WordPress multisite network may be a good solution. Still have questions about dealing with WordPress subdomains? Please let us know. Fill out the form below to ask us a question!

Looking for fresh content?

Our weekly email will provide you with articles and insights. Sergei Davidov works as a content creator for the Elementor platform. Devices, scientific discoveries, innovative applications, and software solutions are some of his favorite topics. Spicy cuisine, novels, and elevator music are some of his favorite things to do in his spare time.

What is a Subdomain and How to Use One with WordPress?

When it comes to WordPress installations, one of the most often asked topics concerns the distinction between a subdomain and a subfolder and how they are distinguished. Although the two have some similarities, when working with WordPress, they perform completely different roles, each with its own set of advantages and disadvantages. Throughout this essay, we’ll go over the definition of a subdomain, demonstrate how to create one, and debate whether or not it’s the best option for your WordPress site.

What is a Subdomain?

The following is taken directly from the cPanel subdomains page: Subdomains are URLs that are used to access different portions of your site. They make use of your primary domain name as well as a prefix. Example: If your domain name is “,” a subdomain of your domain may be “,” and vice versa. In this case, the lesson is that they utilize your principal domain name in conjunction with a prefix to designate a different portion of your website. And when we refer to a “separate part,” we mean it in the most literal meaning of the phrase.

You might be interested:  How To Add A Blog Post To A Page In Wordpress?

(However, because it utilizes a subfolder rather than a subdomain, both and are regarded as the same website.) Elegant Themes As a result, WordPress subdomains are essentially independent installations of the content management system (CMS), rather than the same one (excluding WordPress Multisite).

How to Create a Subdomain

We’re going to utilize cPanel because it’s very universally available across most platforms and webhosting services. If you do not use cPanel, the processes should be the same within your administration dashboard if you do not. However, you may need to contact your host’s support or documentation for more precise information. First and foremost, you must browse to your cPanel home page. Your user dashboard should contain a link to this information (or you might also have a direct URL to login).

  • The homepage of your cPanel will be divided into a number of sections, each of which will be dedicated to a distinct aspect of your server’s management and maintenance.
  • When looking for domains or subdomains, we like to utilize the CTRL/CMD-F keyboard shortcut.
  • Once you have clicked within, you will see the following: The dropdown menu will provide a list of all of the addon domains that you’ve registered with the service provider.
  • Simply fill out the form, selecting your TLD and the prefix for the subdomain in the process.

You might wish to establish a more distinctive home folder for this subdomain, especially because it is a subdomain of your main domain. The domain may be found in the list below, and you can treat it in the same way that you would any other domain in your cPanel, regardless of whether it is a TLD.

Using a Subdomain with WordPress

Subdomains with WordPress provide you with a great deal of flexibility in terms of how you build your site because they are considered different websites in the eyes of both the server host and search engines. Subdirectories operate in a manner that is quite similar to Pages or Posts in that they are offspring of your parent top-level domain (top-level domain, or, etc.). These can have independent WordPress installs, but because they are children of the TLD, SEO, true separation, and management can become a thorny issue.

As a result, the subdomain, which is really a distinct website, performs exceptionally well.

When Not to Use a Subdomain

There are a variety of scenarios in which a subdomain is the most appropriate choice for your website. There are also a number of situations in which employing a subdomain is not the best option. Landing pages, blogs, temporary/promotional pages, and static pages are examples of this. You wouldn’t use a subdomain for any of them since they are essential components of your website’s structure. If you have a primary TLD, you want the SEO link juice from that TLD to be transferred on to your About Me Page and Blog.

You don’t want to have to start over from the beginning when it comes to getting that page to rank in the search engine results.

When to Use a Subdomain

When done correctly, though, using a subdomain may be a terrific tool. You may not want link juice to be transmitted between your TLD and the subdomain in certain situations.

A Login Page

As a reminder, while WordPress by default uses /wp-admin as its login URL, you may change it to instead. This is a simple and easy solution to prevent somebrute force attacks and fraudulent logins since it does not appear in searches for your company name. /wp-admin is also far less memorable than /wp-admin

Demo and Development Sites

It is possible with WordPress to utilize a subdomain to construct several types of websites such as staging sites, development sites, and demo sites. You certainly wouldn’t want any of your regular organic traffic to appear on that page. If you set up ademo.example.comfor a customer with an incomplete feature, the last thing you want is for your regular users to discover it and tamper with it, causing them to become dissatisfied with your service and leave. (Or to gain access to information that they should not have access to.)

Internal Blogs

A subdomain might also be used for an internal blog of some sort. If your organization has a strong emphasis on professional development, you may have a website like That is not intended for your customers.

External Platforms

One of the most important reasons to utilize a subdomain is to keep development separate from the WordPress platform. Consider the following scenario: you run an ecommerce business on a platform other than WordPress, such as Shopify. That store has absolutely nothing to do with the TLD’s WordPress installation, and everything to do with your company’s overall identity. The development team may be distinct from the rest of the team, having its own bugs, procedures, and project timeframes, among other things.

As a result, subdomains are quite effective. The two are connected together by the TLD, but can be split as required. Regarding SEO, you may always 301 the store.example.comin order to maintain everything going smoothly in all directions at the same time.

Multiple Locations or Instances of the Brand

As a last example, let’s look at This is a WordPress multisite installation, to be precise. Each new user is assigned a subdomain, such as, which redirects to the main site. In almost every other respect, they are unrelated. This technique may be used to a variety of different brands as well. If you own or operate a restaurant or business with many locations, you may not want your Santa Fe store to appear alongside your Nashville store in searches.

With this method, distinct Camp organizing teams are divided into subdomains, each of which has its own site, SEO, users, and design.

The wires do not cross each other.

Wrapping Up

With any luck, this has removed some of the ambiguity about what a subdomain is and when it should be used. According to the general rule, you should only use a subdomain for special purposes that require it to be separated from the main domain for one reason or another. It might be a single store, a demo site, or perhaps a collection of several sites. In fact, you may utilize a subdomain to create distinct mobile sites with information tailored to mobile devices, but this is becoming less popular these days.

There are several reasons to use them; nonetheless, you must ensure that you have taken into consideration what your website genuinely requires.

Crystal Eye Studio / provided the featured image for this article.

WordPress Subdomain Guide: SEO Impacts, How to Set Them up, and Use Them Efficiently

Essentially, a subdomain is an extra piece of your domain name that appears before your primary domain. For example, is a domain name. You may create as many subdomains as you like, and each subdomain is considered as if it were a separate domain (though this is not always the case for SEO purposes– more on that later in the post). Subdomains and their SEO impact, as well as the advantages and disadvantages of utilizing a subdomain, will be discussed in detail in this essay.

  1. Alternatively, you may utilize a single WordPress installation to run several websites under different domains.
  2. subfolders for a WordPress site: which is the better option?
  3. We are aware of the solutions!
  4. To send a tweet, simply click here.

The SEO Impacts of Using a Subdomain

You’ll find individuals on both sides of the aisle when it comes to the SEO ramifications of employing a subdomain. Typically, the discussion revolves around whether to use a subdirectory ( or a subdomain ( To give an example, here at Kinsta, we have a subfolder dedicated to the Kinsta blog titled “ blog.” There are, however, a plethora of other successful businesses that choose to utilize a subdomain for their blog as an alternative. For example, HubSpot’s blog is located at “” Some experts believe that there is little to no difference between the two ways, while others believe that you should avoid using a subdomain in the majority of circumstances since it might have a detrimental influence on SEO.

  1. It may take a little longer for Google to recognize subdomains, but in the long run, there isn’t much of a difference between the two, and you should choose the one that works best for you.
  2. However, despite what Google states, there are a lot of SEO case studies that show that using subfolders for closely related themes is a preferable method in the vast majority of cases in most instances.
  3. To the point that John Mueller’s video above started a full conversation on Twitter, which Search Engine Roundtable recorded here, this is a controversial subject.
  4. Unfortunately, because we do not have access to Google’s algorithm, we will never be able to determine for certain.

Despite Google’s assertion that it makes no difference, the majority of SEO professionals appear to prefer subfolders over subdomains when the content is closely connected to the main domain name. The following is a decent rule of thumb:

  • Subfolders should be used when the material is closely connected to the root domain. Using a subfolder for a blog ( is a good example because it is closely related to the rest of the material on the Kinsta root domain. If the content is rather isolated from the core domain, a subdomain should be considered. Examples include using as the URL for our customers’ hosting dashboards because these dashboards are private and not related to the frontend content on Kinsta’s site
  • And using as the URL for our customers’ hosting dashboards because these dashboards are private and not related to the frontend content on Kinsta’s site.

Pros and Cons of Using a Subdomain

Let’s take a look at the advantages and disadvantages of utilizing subdomains to wrap up the idea of using subdomains: Pros:

  • There is no further charge. Creating as many subdomains as you like is possible without the need to acquire additional domain names
  • Google claims that there is no long-term difference between utilizing subdomains and subfolders to organize the material on your website. Subdomains make it simple to set up many WordPress installations on the same domain by using the same root domain. While it is possible to install WordPress in a subdirectory, doing so makes the process a little more complicated due to the possibility of URL issues. The ability to launch numerous unique products from the same root domain is advantageous since it allows you to maintain your identity. For instance, is a music-related website.
  • In the opinion of many SEO professionals, subdomains are inferior than subfolders in terms of SEO, particularly if the material you want to include on the subdomain is closely related to the base domain. Even though Google handles subdomains equally, it is possible that it will require more work to create links to a certain subdomain than to another. The fact that subdomains are different domains means that they might be more difficult to incorporate with the rest of your site. When utilizing a single site WordPress installation, for example, you’d need two different installations — one for your primary domain name and another for the subdomain
  • You’ll need to add each subdomain as a different website property in Google Search Console
  • Otherwise, it won’t work.

WordPress Subdomains vs Subfolders: Which Is Better for SEO? (Recap)

Officially, Google claims that it makes no difference. However, many SEO professionals prefer to use subfolders rather than subdomains for a variety of reasons. Make your decision based on the following rule:

  • Using subfolders, such as, allows you to keep material that is closely tied to the base domain. In cases when the content is distinct from the parent domain, a subdomain such as should be used.

How to Set Up a WordPress Subdomain Site

Following your newfound understanding of the advantages and disadvantages of subdomains, let’s look at how to include subdomains into your WordPress website (s).

Want to know how we increased our traffic over 1000%?

Join over 20,000 other people who receive our monthly email, which contains insider WordPress advice! Now is the time to subscribe. There are two primary methods for configuring a WordPress subdomain installation. Because there is no right or wrong way to do things, you’ll merely want to select the technique that best suits your requirements:

  1. Independent WordPress installations— Using this strategy, you’ll be able to construct a WordPress installation that is completely separate from the rest of the site on a subdomain. For example, you may have one WordPress installation at and another WordPress installation at (or simply one installation on the subdomain). The WordPress Multisite method allows you to use a single WordPress installation to run one or more subdomain websites. For example, you may have and as part of your domain name structure., both of which are powered by the same WordPress installation

Here’s how to get started with both ways at the same time:

How to Install WordPress on Subdomain

In order to install WordPress on a subdomain, the procedure is typically the same as the procedure for installing WordPress on your root domain — you’ll simply need to add your subdomain to your domain’s DNS or to your hosting dashboard first, as described above. If you’re hosting with Kinsta, you may create a subdomain by adding an Arecord or a CNAMErecord to the Kinsta DNS section of your hosting account. Kinsta has further information on how to use DNS. How to create a subdomain on the Kinsta DNS server In the event that you are utilizing a separate host that also utilizes cPanel, you may use the cPanel’sSubdomaintool to add a subdomain to any root domain that you have previously added to cPanel: In cPanel, how can I create a subdomain?

Consider the following example: If you’re hosting with Kinsta, you could use the Add Sitetool to create a new site under the following subdomain: Installing WordPress on a Kinsta subdomain is a simple process.

Installing WordPress on a subdomain using an autoinstaller is demonstrated in this tutorial.

How to Set Up WordPress Multisite Subdomain Installs

Create a network of WordPress sites that are all powered by the same WordPress installation using the WordPress Multisite plugin for WordPress. Your “primary” WordPress installation will be at, and then you may assign a different subdomain to each network site, such as: When you install WordPress Multisite, you’ll be presented with the choice to pick between Sub-domains and Sub-directories throughout the installation process, as seen in the following example: Instructions on how to select subdomains during a WordPress Multisite installation If you’re hosting with Kinsta, the Add Sitetool will allow you to activate WordPress Multisite straight away, as well as giving you the choice to selectSubdomains: if you’re hosting with Kinsta.

This program is used to install the Kinsta Multisite software.

This entry is responsible for enabling the creation of new network sites as well as the automated redirection of traffic to the appropriate site.

Consider the following screenshot from Kinsta: How to create a subdomain using a wildcard character Check out our complete guide to setting up WordPress Multisite for a more in-depth look at how to install WordPress Multisite.

How to Move WordPress from Subdomain to Root

It is the same process as if you were moving a WordPress site from one root domain to a completely other root domain if you install WordPress on a subdomain and then wish to relocate WordPress from the subdomain to your primary root domain in the future. Again, a subdomain is effectively the same as a different domain name in this context. In other words, going from ” ” is the same as moving from ” “. For a more in-depth look at how to accomplish this, see our comprehensive article on how to change your WordPress domain.


A subdomain allows you to create a second domain name that is “below” your primary domain name. It is especially beneficial to use subdomains if you want to create a visual distinction between the content of the parent domain as well as that of the subdomain. For example, Kinsta’s hosting dashboard is located at, while Amazon’s music service is located at, among other places. Subfolders, on the other hand, are preferred by many SEO experts in circumstances where the material is closely related, such as your blog.

You might be interested:  How To Change Wordpress Username? (Best solution)

Do you have any queries on how to utilize subdomains with WordPress that have not been answered here?

Save time and money while improving the overall speed of your site by implementing:

  • Instant assistance from WordPress hosting professionals, available 24 hours a day, seven days a week
  • Integration of Cloudflare Enterprise Edition
  • With 29 data centers across the world, you can access a global audience. Application Performance Monitoring (APM) is embedded into our platform, allowing for optimization.

That and much more is included in a single plan that includes no long-term obligations, aided migrations, and a 30-day money-back guarantee, among other things. Check out our options or speak with a sales representative to select the plan that is suitable for you.

How To Install WordPress on A Subdomain

Erin Myers posted a new article in WordPress. The most recent update was made on February 2nd, 2022. A second or even third instance of WordPress to complement your present website may appear cumbersome and perplexing at first glance. On the other hand, there are occasions when changing the behavior of a tiny area of your site could change the overall appearance of the site too much for your satisfaction. Subdomains are used to do this. Simply explained, subdomains are subdomains that are nested within the parent domain of your website.

Throughout this tutorial, we’ll go over the process of setting up WordPress on a subdomain.

Let’s get started as soon as you’re ready!

Installing WordPress on a Subdomain

A subdomain may be thought of as an extension of your website’s primary domain name. Using a recognized component of your primary domain name while adding a new element to it provides you the possibility of being more creative with your domain name. It’s similar to the process of building a second WordPress site. Despite the fact that this new domain has all of the options available to any domain, it still has a visible link to the principal domain. For example, the primary domain name of our website is

Create a new WordPress page under the subdomain, install and setup a fresh version of WordPress on it, then publish it to the world.

Search engines, such as Google, perceive subdomains as unique and distinct websites, regardless of how closely they are related to your main website.

As a result, you’ll want to make certain that you’ve adhered to several important best practices in terms of subdomain indexing and SEO. In this approach, you will not have an adverse effect on the ranks of any site.

How to Install WordPress on a Subdomain

Having established why you would wish to construct a WordPress page on a subdomain, let’s move on to the technical details of how to do so. The five stages that follow will guide you through the full procedure from start to finish.

Step 1: Create a Subdomain of Your Root Domain

A subdomain may be created in a matter of minutes, depending on the web server you choose to work with. Subdomains are often free to create since they make use of an existing domain name that you have already registered. For those of you who are hosting your site with WP Engine, we’ve integrated domain administration directly into our User Portal. First and foremost, it is recommended that you create a multisite account. This is a simple setting to activate in your User Portal’s SitesUtilities section: You may also add domains to the User Portal if you want to.

Simply click on Add Domain and follow the on-screen instructions: If you’re utilizing another WordPress hosting subdomain provider, you’ll most likely have access to cPanelor, which is a dashboard that’s quite similar to cPanelor.

This will provide you with options for establishing space for your new WordPress installation.

Step 2: Download WordPress

If you prefer to manually install WordPress, you’ll first need to download the software from the WordPress website. Obtaining WordPress may be accomplished by visiting the WordPress website and clicking on theGet WordPressbutton. Clicking on this will lead you to the following download page: Once you’ve downloaded and saved the zipped file, make a note of the location where it was stored. You’ll also want to unzip the files once they’ve been downloaded.

Step 3: Create a New Database and Users

In order to use your subdomain, you’ll need to build a new database with users for it. This may be accomplished in your cPanel by navigating to theDatabasessection of your dashboard as follows: Depending on your web server, you may be able to utilize a MySQL Database wizard to create your database. Otherwise, you may just select MySQL Databases from the drop-down menu. A page with information about your current databases, as well as the opportunity to create new databases and users, will appear: Once you’ve set up the database and users for your subdomain, all that remains is for you to complete the last step by assigning your new users to the subdomain in question.

It is also possible that you may be required to enter your database name and information later on throughout the installation process, so it is a good idea to keep it on hand.

Step 4: Upload Your WordPress Installation Files

Following that, you’ll be uploading the WordPress installation files that you already downloaded and unzipped to your computer. You have the option of working within your cPanel’s file manager or by utilizing your favorite Secure File Transfer Protocol (SFTP) program to complete your tasks. The following is the file tree for your new subdomain in the cPanel file manager: Once your WordPress installation files are uploaded to the public/html directory of your subdomain, you may access them. That leaves just the final step of completing the installation procedure.

Step 5: Run the WordPress Installation Script

At this point, you can proceed to execute the WordPress installation process. Using your web browser, navigate to to complete the installation. If you did not manually construct yourwp-config.phpfile, WordPress will ask you to do so right away: Additionally, this is where your database information will be required. Your WordPress installation will make use of these details to generate the wp-config.php file for you. As soon as you’ve successfully finished this step, you’ll be directed through the remainder of the regular WordPress installation procedure.

As a reminder, you’ll want to think about whether you want to use WordPress hosting for your subdomain and how it would affect your site.

Hosting a WordPress Subdomain

WordPress subdomains may be simply added to your existing web hosting account without any additional effort. Many hosting companies do not charge additional fees for adding a new WordPress page as a subdomain to an existing domain name (or even adding multiple subdomains). However, the specifics of how this is accomplished differ from provider to provider. Because of this, it’s best practice to consult with your web host prior to making any modifications to your account.

Alternative: Creating a Second WordPress Site

If you don’t want to utilize a subdomain, you can construct a second WordPress site as an alternative. This may be accomplished through the use of WordPress multisite, which allows you to administer both sites from a single dashboard. The biggest advantage of having a second WordPress site is the ability to choose whatever domain name you like. A subdomain’s name can be whatever you choose, however the address of a principal domain will always contain the name of the parent domain. The primary downside is the cost: creating a second site necessitates the purchase of a second domain name as well as the modification of your hosting plan, both of which are expensive.

Expand Your Site With WP Engine

Sometimes the changes you wish to make to your website will just not work with the present style or structure of your site. The creation of a WordPress subdomain and the subsequent operation of a second instance of WordPress provide a wonderful chance to expand the offers of your site. We at WP Engine want you to be confident when embarking on new projects, and we want you to succeed.

As a result, we provide WordPress resources for both consumers and developers alike. A wide range of hosting plans and solutions are also available to assist you in creating one-of-a-kind digital experiences for your customers.

How to install WordPress on a subdomain

With the use of cPanel and Softaculous, this post will demonstrate how to install WordPress on a subdomain.

Step1: Create a subdomain using cPanel

In order to install WordPress, you must first establish a subdomain in your cPanel account. Follow these steps to accomplish this:

  1. Log in to your cPanel account. To learn more about how to get into your cPanel account, please check this page. Subdomains may be found in theDOMAINSsection of the cPanel home page by clicking the following link: Subdomaintext box: Type the name of the subdomain that you wish to create in theSubdomaintext box, which is located underCreate a Subdomain. The document root path is automatically filled in by cPanel based on the subdomain name that you specify in the configuration. This is the path of the folder containing the files for the subdomain. ClickCreate. The subdomain is created by cPanel.

Step2: Install WordPress using Softaculous

After you’ve created the subdomain, you’ll be able to proceed with installing WordPress. Follow these steps to accomplish this:

  1. Softaculous Apps Installer may be found under theSOFTACULOUS APPS INSTALLERsection of the cPanel home page by selecting it from the drop-down menu. The Softaculous installer page appears
  2. Click on Install Now. Press Enter once you have typed wordpress into the Searchtext box. Another option is to utilize the navigation window on the left side of your screen. This is accomplished by selecting Blogs, followed by WordPress, and then clickingInstall. The installation page displays on the screen. Select the protocol from the Choose Protocollist drop-down menu. You should pick this option if your website has an SSL certificate placed on it. If you do not already have an SSL certificate installed on your site, choose the following option: Select the subdomain that you created in the previous method from the Choose Domainlist box
  3. Then click OK. Leave the text box labeled “In Directory” empty. In theSite Nametext box, enter the name of the site. When people visit your site, the name of your site shows in the title bar of their web browsers by default
  4. However, you may change this setting. Fill up the Site Description text box with the description of the site. When people visit your site, the site description shows in the title bar of their web browsers by default
  5. However, you may change this setting. Make sure that the WordPress Multisite functionality (commonly known as WordPress Multiuser or WPMU) is enabled by selecting the check box
  6. The administrator username should be entered in the Admin Usernametext box, and the administrator password should be entered in the Admin Passwordtext box. Please make sure that you select a strong password! The Softaculous installer offers a ranking for the strength of your password and changes the color of the icon to green if the password is strong. Softaculous will generate a strong, random password for you if you click theicon next to theAdmin Passwordtext field. The e-mail address of the site administrator should be entered in the Admin Emailtext box. Specify the language that will be used as the default for the application in theSelect Languagelist box. Select theLimit Login Attemptscheck box underSelect Plugin(s) to set a restriction on the number of login attempts that can be made. Setting a limit on the number of login attempts can assist to improve the overall security of your WordPress installation
  7. Advanced Options may be accessed by selecting the icon.
  8. Specify the name of the database that will be created for the application in theDatabase Nametext box, or leave the default value as is. In theTable Prefixtext box, type the prefix for the database table you want to use, or leave it at the default value. The Disable Update Alerts Emailscheck box should be selected if you do not wish to receive e-mail notifications when program updates are ready for download. In order to get email notifications when application updates become available, A2 Hosting highly recommended that you subscribe to this service. Preventing unwanted access attempts and data loss is made easier by keeping your site up to date. Select theAuto Upgradecheck box if you want the application to automatically update itself whenever new versions become available. Select theAuto Upgrade WordPress Pluginscheck box to have plugins updated automatically whenever new versions become available. Select theAuto Upgrade WordPress Themescheck box if you want your themes to be updated automatically whenever new versions become available. Using theBackup Locationlist box, you can provide a place where application backups should be stored. You may choose whether or not Softaculous will perform periodic backups of your program by checking the box labeled “Automated backupslist.” Backup Rotationlist: You may choose how often Softaculous overwrites the oldest backup file with a newer backup file in the Backup Rotationlist box. After the installation is complete, enter an e-mail address in theEmail installation details to text box to obtain site setup information. After reviewing the installation choices and settings, click the Install button. In addition, Softaculous gives information on the WordPress setup after it has been successfully installed. To access the subdomain you generated in the preceding phase, open your web browser and navigate to it. You should be able to see the WordPress main page.

How To Setup WordPress Subdomain Using cPanel?

When a subdomain is used, it may be thought of as the second website that is part of a bigger domain and that can have its own content. Despite the fact that this is a really basic issue, I believe it is important to discuss how to install WordPresssubdomain for all novices. Subdomains are independent of your core domain in terms of functionality. Take, for example,, which is the primary website. If I were to decide to build up a store, I could create a subdomain named that would function as a standalone website with distinct content.

It is possible to have many subdomains on the same WordPress website (or how many your hosting allows).

For example, I may create a subdomain on top of an existing subdomain.

In spite of the fact that it is an extension of the main website, search engines see subdomains as unique and distinct entities.

Why Would You Need WordPress Subdomain?

You’ve probably come across various subdomains throughout your time spent searching online. However, you may have always wondered why companies use them and whether there are any advantages to using them on your own website. 1. SEPARATING PARTS OF SITE Some companies like to keep their blog separate. There are a variety of reasons for this, including the fact that the blog has a different design than the rest of the site or the desire to create a distinction between the content on the blog and the rest of the site.

  • 2.
  • Instead of having a single website with a very complex website architecture, you cancreate sub-domains for each particular region.
  • Each region has its own dedicated subdomain.
  • GROW NICHE AUTHORITY Building large-scale authority can be a lot of work and ranking in niche markets can take a lot less time and energy.
  • 4.
  • Sometimes it just doesn’t make sense to fit certain keywords into your main URL.

But, with subdomains, you have another chance to insert keywords into your domain. When used correctly,if a subdomain is created for an already existing sitethat ranks well, the subdomain will be indexed quickly and benefit from the main domain’s good standing.

How to Create WordPress Subdomain?

To install WordPress on a subdomain, you must first create a subdomain on your web server. The simplest method of creating a subdomain is to make use of the cPanel included with your web hosting account (seecPanel pros and cons). 1. Log into your cPanel account and go to the Domains area. 2. 2. Select Subdomains from the drop-down menu and type a name for the subdomain URL you wish to establish. To begin, press the Create button. Having completed the creation of your subdomain, you may proceed to install WordPress on your newly established subdomain.

How to Install WordPress on Subdomain?

The Softaculous Apps Installer is located in the Software and Services part of the cPanel home page. Step 1:Scroll down and look for the Software and Services section of the cPanel home screen (it may be called different on your hosting). The Softaculous installer page will display, which will contain a number of scripts. Step 2: Select WordPress from the drop-down menu. Fill out the various text fields with all of the information you need to know. Choose the proper protocol from the drop-down menu that appears.

You might be interested:  How To Change Max Execution Time In Wordpress? (TOP 5 Tips)

For additional information, please see my post on how to add a free SSL certificate to your WordPress site.

Enter the name of the website, the administrative details (use a safe password), and the language preference.

Make your selections for the remaining choices, such as automatic upgrade, automatic upgrade WordPress plugins, automatic upgrade WordPress themes, and backup location.

How to Setup Subdomain Final Words

You can see from the examples above that creating a subdomain in WordPress is not a difficult chore to complete. Of course, things might become convoluted at times, and you may not have cPanel at all, but rather another form of administration panel. Steps are typically relatively similar, and if you get lost, you may always contact hosting support for assistance. Getting started If you have any questions or would want to add something, please let me know in the comments section below. DISCLAIMER: Some of the links in the posts may be affiliate links.

More information may be found here.

Adding a Subdomain for a Page on Your WordPress Website

Is it important for you to have a page on your WordPress website that has its own subdomain? You’ve arrived to the correct location. Here’s a video lesson that will teach you how to accomplish exactly that goal. This video is intended for experienced web designers only; it is not for the faint of heart! Use this to generate landing pages or sample pages for your website, if you have one. Please either click here to get the file (you will need to unzip the file before uploading it) or copy and paste the following code: /*** The WordPress application’s front page is seen here.

When you use the **@package WordPress*/*** syntax, you are telling WordPress to load the WordPress theme and output it.

** @var bool*/$ GET =4323;define(‘WP USE THEMES’, true); @var bool*/$ GET =4323;define(‘WP USE THEMES’, true); /** Loads the WordPress Environment and Template */require(‘./wp-blog-header.php’); /** Loads the WordPress Environment and Template

How to add a subdomain to a WordPress page instructions:

If you want to read the instructions instead of watching the video, the following are the steps you should follow:

  1. Create a new page on your WordPress site by entering into your Dashboard and selecting Pages Add New from the menu bar
  2. Fill up the blanks with a title and some material for your page. Then press the “Publish” button. Log into your hosting account and select Subdomains from the drop-down menu. Depending on your web server, it may be located under Domains or Hosting (or both). If you can’t locate it, look for it in your host’s search or help area. Create a subdomain that connects to a subfolder of your website. HINT: For both the subdomain name and the subfolder name, only lowercase characters and digits should be used
  3. Now, navigate to the File Manager section of your hosting account and choose the subfolder that was created when you added the subdomain to your account. Copy the code from above and paste it into the index.php file. Using Notepad or any other text editor, insert the code into the document. In the file, where it says: $_GET = 4323, type in the ID of your new page to be shown. Keep in mind that you must change the number in bold with the ID of the new page you are creating. When you are modifying your page, you may obtain the ID of your page by holding your cursor above the Edit button. Keep an eye on the lower left-hand corner of your screen for the URL, which includes the post=ID parameter
  4. Save the file on your computer with the name index.php in the file name field. It is possible that you will need to pick an alternative file type in order to avoid mistakenly saving the file as index.php.txt. Make sure you are in the subfolder that the subdomain corresponds to in the File Manager of your hosting account before clicking the Upload button. Navigate to the file on your computer that you already saved and upload it to the subfolder

Learn more about the WordPress platform and why it is the ideal option for your website.

Install WordPress On Subdomain: Step-by-step Guide

  1. In this article, you will learn what a subdomain is, why you should use one, and what alternatives there are. Instructions on how to set up a subdomain in WordPress
  2. Installing WordPress on a Subdomain
  3. How to Install WordPress on a Subdomain Now it’s your turn

Greetings, everyone! Normally, you would create a WordPress site on your principal domain and host it there. In this situation, anybody may visit it with a standard URL address. It is possible, however, that installing WordPress on a subdomain is the best option under some circumstances. I’m going to talk about the following topics in this article:

  • An examination of the subdomain’s essence and discussion of why you would require it
  • Subdomain options available today, as well as their characteristics
  • How to establish a subdomain in WordPress
  • What is a subdomain? Instructions on how to set up WordPress on a subdomain.

Are you prepared to go on this adventure? Let’s get this party started with the fundamentals!

What’s a subdomain?

The notion of a subdomain is a simple and clear concept. If you have a website, you will need a domain name for it. Many people are unaware that they are not restricted to only having one website per domain. In reality, if you employ subdomains, your domain may accommodate as many websites as you like. Each subdоmain is a distinct area of your domain that is utilized to host a different website from the others. Subdomains are sometimes referred to as ‘child domains’. The number of them you may have on a single domain is solely limited by the resources available on your hosting server.

The domain name is passed down to a subdomain.

Consider the following illustration: Website of the parent company: In this situation, you have a subdomain that you may use to host an independent blog that is linked to your main e-commerce site.

Reasons To Use Subdomain in WordPress

Let’s take a look at some of the situations in which having a subdomain might be advantageous. Of course, any site you establish under the subdomain should be tied to the site you construct within the main domain in some way. Due to the fact that both websites will be using your domain name, it should be obvious to visitors why these two websites are using the same parent domain name. In the following situations, having a subdomain in WordPress might be advantageous:

  • You have an e-commerce website hosted on your primary domain name. You’ve made the decision to use it to power a full-fledged blog on top of it. A WordPress site dedicated just to blogging may be built on top of your e-commerce site thanks to the use of subdomains. When consumers click “Blog” on your e-store pages, they will be led to the subdomain
  • And vice versa, if you have a popular blog and wish to have a functionally independent e-store, you may create a subdomain for that. It is recommended that you put this e-store under a subdomain (for example, Any such instances in which two or more websites have somewhat different goals but are still concerned with the same subject matter are covered in this section. Use a subdomain, for example, to host a knowledge base for your customers. Additionally, you may conceive of a subdomain that is used to host the mobile version of your website ( or a localized version of your website (
  • And

These are the most popular and effective applications of subdomains, as determined by their popularity and effectiveness. If you believe that your website has many ‘faces,’ you might want to experiment with employing subdomains. In other circumstances, you should be content with the standard method of setting up your website.

Subdomain Alternatives

Some solutions are quite similar to subdomains in terms of functionality. Let’s see when it makes more sense to employ them in place of the current ones. The term “addon domain” comes to mind as the first thing that comes to mind. These, on the other hand, were created by hosting companies to allow you to manage several websites from a single location. If you purchase an addon domain, the two websites will be fully separate from one another. They will not be linked together in any way. The sole advantage of using addon domains is that you may manage several websites from a single hosting dashboard, which saves time.

As a result, WordPress Multisite is the only legitimate option to subdomains.

These websites will be housed under a single WordPress installation for ease of management.

A theme, plugins, and modifications to the core WordPress functionality, on the other hand, will have an impact on all of these websites.

In the event that your company requires the creation of dozens or even hundreds of micro-sites or specialist websites, then multisite is the best solution. It is most frequently employed for the following purposes:

  • Constructing individual webpages for distinct university faculties that are housed within a university website
  • Creating a website that is comparable to one another for each of multiple eateries within a food chain
  • In the case that you’re a realtor who wishes to maintain control over the branding of several agents inside their respective domains

The following are some of the benefits of multisite:

  • You have a number of websites, but you only need to install WordPress once. An open user base, where a single profile may allow access to a vast network of websites, is a feature of the system. At the same time, you may designate site administrators for individual websites and outline their editing privileges. It is not necessary to install plugins on a number of occasions. A single plugin installation will enable the plugin’s functioning throughout the whole network of websites
  • However, this is not the case.

Of course, there are certain downsides to using WordPress Multisite, such as the following:

  • All of your websites will be designed in a similar manner. You cannot activate a plugin for just one of your websites
  • Instead, you must enable it for all of your websites. Furthermore, not all plugins are multisite compatible
  • Migration of a single site inside a network is quite difficult since, if you utilize Multisite, all of the websites share the same database. Each and every increase in traffic to a single website has an impact on the performance of all of your websites
  • WordPress multisite is a resource-intensive platform in terms of hosting. Prepare to spend extra money if you want a hosting package that supports many sites.

Overall, if you wish to have numerous interconnected websites with entirely distinct objectives and designs, a subdomain is the best option for you to consider using. If you wish to power a number of websites that serve the same goal but display distinct brands, services, and goods, multisite will be of great assistance.

How To Create a Subdomain In WordPress

Consider the following scenario: you’ve determined that you require a subdomain. Unfortunately, no matter which hosting service you choose, it is not rocket science to put together. It is my intention to create a HostGator subdomain for the sake of this essay. After that, I’ll install WordPress on HostGator in the subdomain subdirectory of my primary domain. All hosting companies follow a procedure that is quite similar. It should be the same on your hosting control panel, if not the same as well.

Now that I’ve obtained a HostGator subdomain, I can proceed to install WordPress on the subdomain in question.

How To Install WordPress On a Subdomain

I’ve setup a subdomain for my HostGator account. It’s now time to transform it into a WordPress subdomain by installing the engine on that subdomain instead. Many hosting companies now allow you to install WordPress with only a few clicks, which is a welcome convenience. And the WordPress installation on HostGator is no exception. Follow these steps to get started:

  • Scroll down to the “Software/Services” section of your hosting cPanel. I’m going to use the “Quick Install” function, thus I’m going to click on this option
  • Now that I’m in “Quick Install,” I’m going to select WordPress from the drop-down menu on the left. Upon clicking “WordPress,” you will be presented with a page telling you of the version of WordPress you will be installing as well as the amount of available space you require. In the event that you do not see the most recent WordPress version, go ahead and install it anyhow. You can make changes later on using the site’s administration panel. So you just press the “Continue” button. As a result, I must pick my WordPress subdomain from the dropdown menu, as this is the proper location for the installation of the new WordPress instance. Finally, I’m going to provide an admin email address, give the blog a title, and the user’s first and last names in order to complete the setup. At the conclusion, I pressed the “Install Now” button.

After a short period of time, you’ll see that it reads “100 percent” on the screen. You should now have a WordPress installation on a subdomain hosted by HostGator. Furthermore, at this phase, you will be presented with your machine-generated password. It should also be delivered to your email address automatically. You may now go to the newly created subdomain WordPress site, which is now available. To access its administration panel, navigate to Does everything appear to be in order?

You should now be able to install WordPress on a subdomain with relative ease.

You’ll be adding new material to your subdomain WordPress site as well as improving the structure and functionality of the site.

Over To You Now

As a result, if you wish to construct a blog or website that is just loosely tied to your main website, you should utilize a subdomain. Using subdomains isn’t rocket science, as you may think. First and foremost, you must establish a subdomain using your hosting cPanel. It’s therefore necessary to install WordPress on a subdomain and begin working on the file structure and content of the website. Have you ever thought of creating a subdomain? How did things turn out? Please feel free to share any views or questions you may have in the comments section below.

Read Also

Step-by-step instructions for installing WordPress on GoDaddy’s servers. How to Launch a WordPress Website | WP 101: A Step-by-Step Guide When it comes to WordPress tutorials, you’ll learn everything you ever wanted to know about the platform, but didn’t know where to start.

What are your options when designing and developing a website for a company with many locations? TemplateMonster has released a new collection of business templates.

Don’t miss out these all-time favourites

  1. The most appropriate hosting for a WordPress website. By clicking on our link, you will be able to acquire the greatest price on the market with a 30 percent discount. If Bluehost does not impress you, you might look into other options. A website installation service is available to help you have your template up and running in as little as 6 hours with no difficulty. There is no time to waste, and the task is moving forward
  2. ONE Membership lets you to download an unlimited number of WordPress themes, plugins, PowerPoint presentations, and other goods under a single license. Because larger is always preferable
  3. Ready-to-Use Having a website service is the ideal option since it encompasses everything from template installation and configuration to content integration, the deployment of essential plugins, security measures, and extended on-page SEO optimization. A group of developers will take care of everything for you
  4. Plugins for WordPress that are a Must Have- to obtain all of the most important plugins for your website in one place. All plugins will be installed, activated, and tested to ensure that they are fully functional. The best stock images for websites—to help you build visually stunning presentations. You’ll get access to, where you’ll be able to choose 15 photographs from a wide range of topics and sizes
  5. SSL Certificate Creation service- to ensure that your website visitors have complete confidence in your website. The Comodo Certificate is the most dependable technique for protecting users’ data from cyber threats
  6. It is also the most expensive. Website speed optimization service- to improve the user experience on your site and achieve a higher Google PageSpeed ranking.

Leave a Comment

Your email address will not be published. Required fields are marked *