{"id":46528,"date":"2021-01-10T12:42:58","date_gmt":"2021-01-10T12:42:58","guid":{"rendered":"https:\/\/elementor.com\/blog\/?p=46528"},"modified":"2021-01-10T12:42:58","modified_gmt":"2021-01-10T12:42:58","slug":"setup-subdomain-wordpress","status":"publish","type":"post","link":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/","title":{"rendered":"How to Set up a Subdomain on Your WordPress Website"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"46528\" class=\"elementor elementor-46528\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e03e9bf elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e03e9bf\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-abfe4e1\" data-id=\"abfe4e1\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5eb2442 elementor-widget elementor-widget-text-editor\" data-id=\"5eb2442\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>There are many different purposes for different websites \u2014 some deal with commerce, others with information, and others have to do with marketing. What many people may not know is a single website can be additionally divided into smaller websites, for different purposes.\u00a0<\/p><p>You may want to create a staging website to test new updates, plugins, and themes; or, you may want to create a separate website to deal with <a class=\"wpil_keyword_link\" href=\"https:\/\/elementor.com\/features\/ecommerce\/\"   title=\"e-commerce\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"5520\">e-commerce<\/a>; or maybe you simply want to create a clear separation between your mobile website and your desktop version, or maybe even a location-specific separation. To do this \u2014 to separate your website into smaller websites \u2014 you can use subdomains.\u00a0<\/p><p>A subdomain is an extension to your main <a href=\"https:\/\/elementor.com\/blog\/com-vs-net\/\">domain name<\/a>. It lets you create a separate &#8220;part&#8221; of your main domain \u2014 for example,<strong> blog.yoursite.com, <\/strong>and act as a separate website.\u00a0<\/p><p>In this post, we&#8217;ll explain why you may need a subdomain to your <a href=\"https:\/\/elementor.com\/blog\/create-website-with-wordpress\/\">WordPress site<\/a>, and show you, step-by-step, how to use cPanel to set up a subdomain and install WordPress.\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fb5de5c elementor-align-center elementor-widget elementor-widget-button\" data-id=\"fb5de5c\" data-element_type=\"widget\" data-gac=\"CTA_Elements\" data-gaa=\"Link\" data-gal=\"Position_Text_CTA\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/elementor.com\/blog\/wordpress-staging-site\/\" target=\"_blank\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Set up a Staging Site on a Separate Subdomain<br> and Experiment Safely <\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-db98b59 blog-toc elementor-widget elementor-widget-heading\" data-id=\"db98b59\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Table of Contents<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f432365 blog-toc elementor-icon-list--layout-traditional elementor-list-item-link-full_width elementor-widget elementor-widget-icon-list\" data-id=\"f432365\" data-element_type=\"widget\" data-widget_type=\"icon-list.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ul class=\"elementor-icon-list-items\">\n\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#when\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">When Should You Use a Subdomain on WordPress?<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#vs\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Subdomains vs Subfolders<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#how\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">How To Install WordPress on a Subdomain<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#step-one\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">1. Create a Subdomain<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#step-two\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">2. Install WordPress To That Subdomain<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#seo\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Do Subdomains Affect SEO?<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#what-pros-cons\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">What Are the Pros and Cons of a Subdomain?<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#pros\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Pros<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#cons\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Cons<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#multisite\">\n\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-right\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z\"><\/path><\/svg>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Using Lots of Subdomains? Try WordPress Multisite<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-65895a9 elementor-widget elementor-widget-menu-anchor\" data-id=\"65895a9\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"when\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2d91c7a elementor-widget elementor-widget-heading\" data-id=\"2d91c7a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">When Should You Use a Subdomain on WordPress?\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4e67abc elementor-widget elementor-widget-text-editor\" data-id=\"4e67abc\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Subdomains are separate websites, so <strong>you should use a <a class=\"wpil_keyword_link\" href=\"https:\/\/elementor.com\/blog\/subdomain\/\"   title=\"subdomain\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"4962\">subdomain<\/a> when you want to offer an experience that&#8217;s entirely different from your main domain.<\/strong><\/p><p>Let&#8217;s look at a few examples of how we use subdomains here at <a class=\"wpil_keyword_link\" href=\"https:\/\/elementor.com\/\"   title=\"Elementor\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"1045\">Elementor<\/a> to illustrate this. Our main site &#8211; <strong>elementor.com <\/strong>&#8211; is targeted towards regular Elementor users or people who are interested in learning about Elementor, its <a href=\"https:\/\/elementor.com\/features\/\" target=\"_blank\" rel=\"noopener\">features<\/a>, and <a href=\"https:\/\/elementor.com\/widgets\/\" target=\"_blank\" rel=\"noopener\">widgets<\/a>. Then, we have several subdomains that offer different experiences. Here are a few examples:<\/p><ul><li><a href=\"https:\/\/my.elementor.com\/websites\/\" target=\"_blank\" rel=\"noopener\"><strong>my.elementor.com<\/strong><\/a> &#8211; this is the account dashboard for Elementor customers. It&#8217;s where you can manage your license, subscription, websites, etc.<\/li><li><strong><a href=\"https:\/\/developers.elementor.com\/\" target=\"_blank\" rel=\"noopener\">developers.elementor.com<\/a>&#8211; <\/strong>this subdomain is 100% focused on developers who want to work with Elementor&#8217;s code. It&#8217;s not really relevant for regular Elementor users, which is why it makes sense to exist on its own subdomain.<\/li><li><a href=\"https:\/\/careers.elementor.com\/explore\/\" target=\"_blank\" rel=\"noopener\"><strong>careers.elementor.com<\/strong><\/a> &#8211; this is for people who want to work at Elementor. Again, it&#8217;s not really relevant for people who want to use Elementor on their own sites, which is why it gets its own subdomain.<\/li><\/ul><p>Some other examples of when to use a subdomain could be:<\/p><ul><li><strong>e-commerce store blog<\/strong> &#8211; if your main site is an e-commerce store, you could create a subdomain to house your store&#8217;s blog as that&#8217;s a distinct experience from shopping for your products.\u00a0<\/li><li><strong>Regional sites &#8211; <\/strong>if you have a multilingual site or otherwise localize your sites for different regions, you can use subdomains to segregate each region&#8217;s site. For example, you could have de.yoursite.com (Germany), fr.yoursite.com (France), etc.<\/li><li><strong>Separate product lines<\/strong> &#8211; if you have completely different product lines, it can make sense to separate them into subdomains. For example, Disney has disneycruise.disney.go.com, disneyparks.disney.go.com, etc.<\/li><li><strong>Staging sites<\/strong> &#8211; you can create <a href=\"https:\/\/elementor.com\/blog\/wordpress-staging-site\/\" target=\"_blank\" rel=\"noopener\">a WordPress staging site<\/a> on a subdomain like staging.yoursite.com.<\/li><li><strong>Landing pages <\/strong>&#8211; if you want to <a href=\"https:\/\/elementor.com\/blog\/create-wordpress-landing-page\/\" target=\"_blank\" rel=\"noopener\">create a landing page<\/a> that&#8217;s separate from your main site, you could place it on a subdomain.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f578020 elementor-widget elementor-widget-menu-anchor\" data-id=\"f578020\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"vs\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-62f7576 elementor-widget elementor-widget-heading\" data-id=\"62f7576\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Subdomains vs Subfolders\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6b7ed53 elementor-widget elementor-widget-text-editor\" data-id=\"6b7ed53\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Another common way to separate parts of your site is to use a subfolder, which comes after your main domain name instead of before:<\/p><ul><li><strong>Subdomain: <\/strong>blog.yoursite.com<\/li><\/ul><ul><li><strong>Subfolder:<\/strong> yoursite.com\/blog<\/li><\/ul><p><a href=\"https:\/\/elementor.com\/blog\/create-blog-wordpress\/\" target=\"_blank\" rel=\"noopener\">For blogs<\/a>, you&#8217;ll see some sites use the subdomain approach and others use the subfolder approach.<\/p><p>In general, you should use the subfolder approach if your blog is closely tied to your main domain name and the subdomain approach if your blog is separate from your main domain (e.g. the e-commerce store example from above).<\/p><p>Here at Elementor, we essentially use both approaches. Our main blog is at <a href=\"https:\/\/elementor.com\/blog\/\" target=\"_blank\" rel=\"noopener\"><strong>elementor.com\/blog<\/strong><\/a> (subfolder) but then we also have a separate developer-focused blog using both a subdomain and subfolder at <a href=\"https:\/\/developers.elementor.com\/blog\/\" target=\"_blank\" rel=\"noopener\"><strong>developers.elementor.com\/blog<\/strong><\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4e73df5 elementor-align-center elementor-widget elementor-widget-button\" data-id=\"4e73df5\" data-element_type=\"widget\" data-gac=\"CTA_Elements\" data-gaa=\"Link\" data-gal=\"Position_Text_CTA\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/elementor.com\/blog\/redirect-url-wordpress\/\" target=\"_blank\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Learn How To Redirect URLs in WordPress<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c9cbba3 elementor-widget elementor-widget-menu-anchor\" data-id=\"c9cbba3\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"how\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-184cb22 elementor-widget elementor-widget-heading\" data-id=\"184cb22\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How To Install WordPress on a Subdomain\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d316ef4 elementor-widget elementor-widget-text-editor\" data-id=\"d316ef4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The exact process that you&#8217;ll need to follow depends on <a href=\"https:\/\/elementor.com\/wordpress-hosting\/\" target=\"_blank\" rel=\"noopener\">your hosting provider<\/a>, so we recommend reaching out to your host&#8217;s support if you run into any issues.<\/p><p>For this tutorial, though, we&#8217;re going to show you how to do it via <a href=\"https:\/\/cpanel.net\/\" target=\"_blank\" rel=\"noopener\">cPanel<\/a>, which is what <a href=\"https:\/\/elementor.com\/blog\/wordpress-hosting-elementor\/\" target=\"_blank\" rel=\"noopener\">a lot of shared WordPress hosts<\/a> offer.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3592517 elementor-widget elementor-widget-menu-anchor\" data-id=\"3592517\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"step-one\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b3ad5ef elementor-widget elementor-widget-heading\" data-id=\"b3ad5ef\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">1. Create a Subdomain\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d84397e elementor-widget elementor-widget-text-editor\" data-id=\"d84397e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Before you can install WordPress on a subdomain, you first need to create the actual subdomain via your hosting dashboard.<\/p><p>To do this in cPanel, look for the <strong>Subdomains<\/strong> tool in the <strong>Domains<\/strong> section:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-20b1ca1 elementor-widget elementor-widget-image\" data-id=\"20b1ca1\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"720\" height=\"580\" src=\"https:\/\/elementor.com\/cdn-cgi\/image\/f=auto,w=720,h=580\/blog\/wp-content\/uploads\/2021\/01\/access-subdomain-tool.png\" class=\"attachment-medium_large size-medium_large wp-image-46531\" alt=\"\" srcset=\"https:\/\/elementor.com\/cdn-cgi\/image\/f=auto,w=720\/blog\/wp-content\/uploads\/2021\/01\/access-subdomain-tool.png 720w, https:\/\/elementor.com\/cdn-cgi\/image\/f=auto,w=300\/blog\/wp-content\/uploads\/2021\/01\/access-subdomain-tool-300x242.png 300w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-46a2dec elementor-widget elementor-widget-text-editor\" data-id=\"46a2dec\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>On the next screen, enter your desired subdomain in the <strong>Subdomain<\/strong> box and also select the parent domain via the <strong>Domain<\/strong> drop-down. There&#8217;s no need to add a dot after the subdomain &#8211; just enter the text you want to use.<\/p><p>For example, to create <strong>blog.elementor.com<\/strong>, you would configure it like so:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ba42a5d elementor-widget elementor-widget-image\" data-id=\"ba42a5d\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"720\" height=\"510\" src=\"https:\/\/elementor.com\/cdn-cgi\/image\/f=auto,w=720,h=510\/blog\/wp-content\/uploads\/2021\/01\/create-subdomain.png\" class=\"attachment-medium_large size-medium_large wp-image-46532\" alt=\"\" srcset=\"https:\/\/elementor.com\/cdn-cgi\/image\/f=auto,w=720\/blog\/wp-content\/uploads\/2021\/01\/create-subdomain.png 720w, https:\/\/elementor.com\/cdn-cgi\/image\/f=auto,w=300\/blog\/wp-content\/uploads\/2021\/01\/create-subdomain-300x213.png 300w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8b8c7d2 elementor-widget elementor-widget-text-editor\" data-id=\"8b8c7d2\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400\">Then, click <\/span><b>Create<\/b><span style=\"font-weight: 400\">.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-68c9b6f elementor-widget elementor-widget-menu-anchor\" data-id=\"68c9b6f\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"step-two\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6fd5f15 elementor-widget elementor-widget-heading\" data-id=\"6fd5f15\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">2. Install WordPress To That Subdomain\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b47fc92 elementor-widget elementor-widget-text-editor\" data-id=\"b47fc92\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Once you&#8217;ve created your subdomain, you can use your host&#8217;s WordPress auto-installer to install WordPress on that subdomain.<\/p><p>When you install WordPress, you&#8217;ll be able to select your subdomain just like you can any other domain:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-128c57e elementor-widget elementor-widget-image\" data-id=\"128c57e\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"720\" height=\"643\" src=\"https:\/\/elementor.com\/cdn-cgi\/image\/f=auto,w=720,h=643\/blog\/wp-content\/uploads\/2021\/01\/install-wordpress.png\" class=\"attachment-medium_large size-medium_large wp-image-46533\" alt=\"\" srcset=\"https:\/\/elementor.com\/cdn-cgi\/image\/f=auto,w=720\/blog\/wp-content\/uploads\/2021\/01\/install-wordpress.png 720w, https:\/\/elementor.com\/cdn-cgi\/image\/f=auto,w=300\/blog\/wp-content\/uploads\/2021\/01\/install-wordpress-300x268.png 300w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-047993c elementor-widget elementor-widget-text-editor\" data-id=\"047993c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>From there, everything behaves exactly as if you were installing WordPress on your parent domain.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d122069 elementor-widget elementor-widget-menu-anchor\" data-id=\"d122069\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"seo\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fa96e25 elementor-widget elementor-widget-heading\" data-id=\"fa96e25\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Do Subdomains Affect SEO?\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d2ccd89 elementor-widget elementor-widget-text-editor\" data-id=\"d2ccd89\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Another important consideration for using subdomains is <a href=\"https:\/\/elementor.com\/blog\/on-page-seo-checklist\/\" target=\"_blank\" rel=\"noopener\">search engine optimization<\/a> (SEO). Because a subdomain is technically a &#8220;separate&#8221; site, some users worry that search engines won&#8217;t pass the main domain name&#8217;s authority to the subdomain.<\/p><p>For example, if you have <strong>yoursite.com<\/strong> and <strong>blog.yoursite.com<\/strong>, some people worry that the blog won&#8217;t benefit from the main domain name&#8217;s authority.<\/p><p><a href=\"https:\/\/youtu.be\/uJGDyAN9g-g\" target=\"_blank\" rel=\"noopener\">According to Google&#8217;s John Mueller<\/a>, Google can figure things out itself and there&#8217;s no inherent SEO benefit to either subdomains or subfolders. If you go back even further to Matt Cutts in 2012, he <a href=\"https:\/\/youtu.be\/_MswMYk05tk\" target=\"_blank\" rel=\"noopener\">also said the same thing<\/a>.<\/p><p>Some SEO experts <a href=\"https:\/\/www.searchenginejournal.com\/subdomains-vs-subfolders-seo\/239795\/\" target=\"_blank\" rel=\"noopener\">still argue against this<\/a> and worry that a subdomain won&#8217;t inherit the full authority from its parent domain, which could negatively impact the rankings of content on the subdomain. Again, Google says that this isn&#8217;t an issue, but some people still prefer using subfolders for this reason.<\/p><p>However, one important SEO consideration for using subdomains is that you&#8217;ll need to add each subdomain to Google Search Console and each subdomain will have its own reports. Depending on how you&#8217;re using your subdomains, you might view this as either a positive or a negative.<\/p><p>Additionally, John Mueller says that using subdomains can make it slightly harder for Google to figure out how to crawl your site. However, this isn&#8217;t usually a problem after the first week or so &#8211; it just takes Google a few days to make the connection.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dcd2c4c elementor-widget elementor-widget-menu-anchor\" data-id=\"dcd2c4c\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"what-pros-cons\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2d92444 elementor-widget elementor-widget-heading\" data-id=\"2d92444\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What Are the Pros and Cons of a Subdomain?\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-69f1053 elementor-widget elementor-widget-text-editor\" data-id=\"69f1053\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>To finish things off, let&#8217;s go over some of the pros and cons of using a subdomain.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-88c5554 elementor-widget elementor-widget-menu-anchor\" data-id=\"88c5554\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"pros\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-17d876a elementor-widget elementor-widget-heading\" data-id=\"17d876a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Pros<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-72c6ab0 elementor-widget elementor-widget-text-editor\" data-id=\"72c6ab0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><strong>Separate experiences<\/strong> &#8211; subdomains make it easier to create completely different experiences for your users.<\/li><li><strong>Improved experiences &#8211; <\/strong>tying with the example above, creating separate experiences lets you optimize each experience for the user, instead of trying to fit everything into the same basic site design.<\/li><li><strong>Easier management<\/strong> &#8211; if you have drastically different content, it might simplify your administrative processes to have each site be a separate WordPress install on a subdomain.<\/li><li><strong>Separate hosting <\/strong>&#8211; if you want, you can use completely separate hosting services for each subdomain, which might be useful in some situations.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9c8303d elementor-widget elementor-widget-menu-anchor\" data-id=\"9c8303d\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"cons\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c159694 elementor-widget elementor-widget-heading\" data-id=\"c159694\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Cons<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ed10c4f elementor-widget elementor-widget-text-editor\" data-id=\"ed10c4f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><strong>Added complexity <\/strong>&#8211; each subdomain is a separate site, which adds complexity to your setup. For example, you might need to manage two separate WordPress installs instead of one unified install. Similarly, you&#8217;ll need to verify both domains in Google Search Console.<\/li><li><strong>SEO considerations <\/strong>&#8211; while Google says you can use either subdomains or subfolders, some SEO experts still recommend trying to use subfolders whenever possible.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e6898a7 elementor-widget elementor-widget-menu-anchor\" data-id=\"e6898a7\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"multisite\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4f0ab9e elementor-widget elementor-widget-heading\" data-id=\"4f0ab9e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Using Lots of Subdomains? Try WordPress Multisite\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-21cf7d0 elementor-widget elementor-widget-text-editor\" data-id=\"21cf7d0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>If you want to create tens or hundreds of WordPress installs on subdomains, you might be better off creating a WordPress multisite network instead of creating separate WordPress installs on each subdomain. For example, let&#8217;s say you run a local business with ten different locations and you want each location to have its own subdomain.<\/p><p>Instead of creating ten separate WordPress installs, you could use one WordPress multisite install and create a network site on each subdomain.<\/p><p>To learn more, check out <a href=\"https:\/\/elementor.com\/blog\/what-is-wordpress-multisite\/\" target=\"_blank\" rel=\"noopener\">our guide to WordPress multisite<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8b3ab9c elementor-widget elementor-widget-heading\" data-id=\"8b3ab9c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Use Subdomains the Right Way and Reap Their Benefits\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c98ced2 elementor-widget elementor-widget-text-editor\" data-id=\"c98ced2\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>WordPress subdomains can be a useful tool if you want to create separate experiences for your visitors or otherwise create clearly separate parts of your site.<\/p><p>To install WordPress on a subdomain, you&#8217;ll first need to add your subdomain via your hosting dashboard. Then, you can use your host&#8217;s auto-installer tool to install WordPress to that subdomain <a href=\"https:\/\/elementor.com\/blog\/website-launch-checklist\/\" target=\"_blank\" rel=\"noopener\">to launch your site<\/a>.<\/p><p>Or, if you want to use a lot of different subdomains, you can consider setting up your own WordPress multisite network.<\/p><p>Do you still have any questions about working with WordPress subdomains? Ask us in the comments!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Subdomains are a great way to separate websites \u2014 dividing them clearly and allocating them to specific target audiences for better and unique experiences. Discover what they are, why you should use them, and how to install a subdomain on WordPress.<\/p>\n","protected":false},"author":188873,"featured_media":46530,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[43],"tags":[79],"marketing_persona":[51],"marketing_intent":[48],"class_list":["post-46528","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-build"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Setup a Subdomain on Your WordPress Site | Elementor<\/title>\n<meta name=\"description\" content=\"Subdomains are a great way to separate websites, dividing them clearly to specific target audiences to provide better experiences. Discover how.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Setup a Subdomain on Your WordPress Site | Elementor\" \/>\n<meta property=\"og:description\" content=\"Subdomains are a great way to separate websites, dividing them clearly to specific target audiences to provide better experiences. Discover how.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/elemntor\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-10T12:42:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/oovolzcf.elementor.cloud\/wp-content\/uploads\/2021\/01\/27.12.2020_HOW-TO-SETUP-A-SUBDOMAIN-ON-YOUR-WORDPRESS-SITE_BLOG-03.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"631\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sergei Davidov\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@elemntor\" \/>\n<meta name=\"twitter:site\" content=\"@elemntor\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sergei Davidov\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/\"},\"author\":{\"name\":\"Sergei Davidov\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/person\/87a6d63997f5dd9f2105a3a769c759c9\"},\"headline\":\"How to Set up a Subdomain on Your WordPress Website\",\"datePublished\":\"2021-01-10T12:42:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/\"},\"wordCount\":1606,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/elementor.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/27.12.2020_HOW-TO-SETUP-A-SUBDOMAIN-ON-YOUR-WORDPRESS-SITE_BLOG-01.png\",\"keywords\":[\"Build\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/\",\"url\":\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/\",\"name\":\"How to Setup a Subdomain on Your WordPress Site | Elementor\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/27.12.2020_HOW-TO-SETUP-A-SUBDOMAIN-ON-YOUR-WORDPRESS-SITE_BLOG-01.png\",\"datePublished\":\"2021-01-10T12:42:58+00:00\",\"description\":\"Subdomains are a great way to separate websites, dividing them clearly to specific target audiences to provide better experiences. Discover how.\",\"breadcrumb\":{\"@id\":\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#primaryimage\",\"url\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/27.12.2020_HOW-TO-SETUP-A-SUBDOMAIN-ON-YOUR-WORDPRESS-SITE_BLOG-01.png\",\"contentUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/27.12.2020_HOW-TO-SETUP-A-SUBDOMAIN-ON-YOUR-WORDPRESS-SITE_BLOG-01.png\",\"width\":1200,\"height\":631},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/elementor.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\",\"item\":\"https:\/\/elementor.com\/blog\/category\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Set up a Subdomain on Your WordPress Website\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/elementor.com\/blog\/#website\",\"url\":\"https:\/\/elementor.com\/blog\/\",\"name\":\"Elementor\",\"description\":\"Website Builder for WordPress\",\"publisher\":{\"@id\":\"https:\/\/elementor.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/elementor.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/elementor.com\/blog\/#organization\",\"name\":\"Elementor\",\"url\":\"https:\/\/elementor.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png\",\"contentUrl\":\"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png\",\"width\":225,\"height\":225,\"caption\":\"Elementor\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/elemntor\/\",\"https:\/\/x.com\/elemntor\",\"https:\/\/www.instagram.com\/elementor\/\",\"https:\/\/www.youtube.com\/channel\/UCt9kG_EDX8zwGSC1-ycJJVA?sub_confirmation=1\",\"https:\/\/en.wikipedia.org\/wiki\/Elementor\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/person\/87a6d63997f5dd9f2105a3a769c759c9\",\"name\":\"Sergei Davidov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0a5edd915cad15385a7184ea9ce23710fe08edb3d605ede2f99cc4e7e65f04ad?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0a5edd915cad15385a7184ea9ce23710fe08edb3d605ede2f99cc4e7e65f04ad?s=96&d=mm&r=g\",\"caption\":\"Sergei Davidov\"},\"description\":\"Sergei Davidov is a content creator at Elementor. His favorite topics are gadgets, advances in science, new apps and software solutions. He enjoys spicy food, reading books and listening to elevator music.\",\"url\":\"https:\/\/elementor.com\/blog\/author\/sdavidov\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Setup a Subdomain on Your WordPress Site | Elementor","description":"Subdomains are a great way to separate websites, dividing them clearly to specific target audiences to provide better experiences. Discover how.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Setup a Subdomain on Your WordPress Site | Elementor","og_description":"Subdomains are a great way to separate websites, dividing them clearly to specific target audiences to provide better experiences. Discover how.","og_url":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/","og_site_name":"Blog","article_publisher":"https:\/\/www.facebook.com\/elemntor\/","article_published_time":"2021-01-10T12:42:58+00:00","og_image":[{"width":1200,"height":631,"url":"https:\/\/oovolzcf.elementor.cloud\/wp-content\/uploads\/2021\/01\/27.12.2020_HOW-TO-SETUP-A-SUBDOMAIN-ON-YOUR-WORDPRESS-SITE_BLOG-03.png","type":"image\/png"}],"author":"Sergei Davidov","twitter_card":"summary_large_image","twitter_creator":"@elemntor","twitter_site":"@elemntor","twitter_misc":{"Written by":"Sergei Davidov"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/"},"author":{"name":"Sergei Davidov","@id":"https:\/\/elementor.com\/blog\/#\/schema\/person\/87a6d63997f5dd9f2105a3a769c759c9"},"headline":"How to Set up a Subdomain on Your WordPress Website","datePublished":"2021-01-10T12:42:58+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/"},"wordCount":1606,"commentCount":0,"publisher":{"@id":"https:\/\/elementor.com\/blog\/#organization"},"image":{"@id":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/27.12.2020_HOW-TO-SETUP-A-SUBDOMAIN-ON-YOUR-WORDPRESS-SITE_BLOG-01.png","keywords":["Build"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/","url":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/","name":"How to Setup a Subdomain on Your WordPress Site | Elementor","isPartOf":{"@id":"https:\/\/elementor.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/27.12.2020_HOW-TO-SETUP-A-SUBDOMAIN-ON-YOUR-WORDPRESS-SITE_BLOG-01.png","datePublished":"2021-01-10T12:42:58+00:00","description":"Subdomains are a great way to separate websites, dividing them clearly to specific target audiences to provide better experiences. Discover how.","breadcrumb":{"@id":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#primaryimage","url":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/27.12.2020_HOW-TO-SETUP-A-SUBDOMAIN-ON-YOUR-WORDPRESS-SITE_BLOG-01.png","contentUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2021\/01\/27.12.2020_HOW-TO-SETUP-A-SUBDOMAIN-ON-YOUR-WORDPRESS-SITE_BLOG-01.png","width":1200,"height":631},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/blog\/setup-subdomain-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/elementor.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WordPress","item":"https:\/\/elementor.com\/blog\/category\/wordpress\/"},{"@type":"ListItem","position":3,"name":"How to Set up a Subdomain on Your WordPress Website"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/blog\/#website","url":"https:\/\/elementor.com\/blog\/","name":"Elementor","description":"Website Builder for WordPress","publisher":{"@id":"https:\/\/elementor.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/elementor.com\/blog\/#organization","name":"Elementor","url":"https:\/\/elementor.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png","contentUrl":"https:\/\/elementor.com\/blog\/wp-content\/uploads\/2025\/06\/images.png","width":225,"height":225,"caption":"Elementor"},"image":{"@id":"https:\/\/elementor.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/elemntor\/","https:\/\/x.com\/elemntor","https:\/\/www.instagram.com\/elementor\/","https:\/\/www.youtube.com\/channel\/UCt9kG_EDX8zwGSC1-ycJJVA?sub_confirmation=1","https:\/\/en.wikipedia.org\/wiki\/Elementor"]},{"@type":"Person","@id":"https:\/\/elementor.com\/blog\/#\/schema\/person\/87a6d63997f5dd9f2105a3a769c759c9","name":"Sergei Davidov","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0a5edd915cad15385a7184ea9ce23710fe08edb3d605ede2f99cc4e7e65f04ad?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0a5edd915cad15385a7184ea9ce23710fe08edb3d605ede2f99cc4e7e65f04ad?s=96&d=mm&r=g","caption":"Sergei Davidov"},"description":"Sergei Davidov is a content creator at Elementor. His favorite topics are gadgets, advances in science, new apps and software solutions. He enjoys spicy food, reading books and listening to elevator music.","url":"https:\/\/elementor.com\/blog\/author\/sdavidov\/"}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts\/46528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/users\/188873"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/comments?post=46528"}],"version-history":[{"count":3,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts\/46528\/revisions"}],"predecessor-version":[{"id":92713,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/posts\/46528\/revisions\/92713"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/media\/46530"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/media?parent=46528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/categories?post=46528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/tags?post=46528"},{"taxonomy":"marketing_persona","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/marketing_persona?post=46528"},{"taxonomy":"marketing_intent","embeddable":true,"href":"https:\/\/elementor.com\/blog\/wp-json\/wp\/v2\/marketing_intent?post=46528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}