{"id":619,"date":"2017-02-15T22:39:36","date_gmt":"2017-02-15T22:39:36","guid":{"rendered":"https:\/\/www.xsofthost.com\/help\/?p=619"},"modified":"2017-02-15T22:40:49","modified_gmt":"2017-02-15T22:40:49","slug":"how-to-create-or-remove-and-redirect-subdomain-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.xsofthost.com\/help\/how-to-create-or-remove-and-redirect-subdomain-in-cpanel\/","title":{"rendered":"How To Create Remove and Redirect a subdomain in cPanel"},"content":{"rendered":"<h2>Subdomain in cPanel<\/h2>\n<p><strong>subdomains<\/strong> is memorable URLs for different content areas of your site. For example, you can create a sub-domain for your blog that is accessible through blog.example.com and www.example.com\/blog<strong> ,cPanel\u00a0 <\/strong>package allows you to create unlimited sub-domains for your primary domain.<\/p>\n<h2>Create Subdomain in cPanel<\/h2>\n<ol>\n<li>Login to your cPanel account.<\/li>\n<li>in cPanel dashboard locate <strong>Domains<\/strong> section then click <strong>Subdomains<\/strong> icon.\n<p><a class=\"lightbox-image-link\" title=\"cPanel Subdomain.\" href=\"\/knowledgebase\/cpanel-subdomain.png\" rel=\"lightbox[583]\" data-lightbox=\"roadtrip\"><br \/>\n <img class=\"thumbnail\" src=\"\/knowledgebase\/cpanel-subdomain.png\" alt=\"cPanel Subdomain\" \/><br \/>\n <\/a><\/p>\n<\/li>\n<li>On the next Page enter the <strong>subdomain<\/strong> ,then select the primary <strong>domain<\/strong> from the list , also you can change the default <strong>document Root<\/strong> and click <strong>Create button<\/strong>, then you can see <strong>Success<\/strong>: \u201cyoursubdomain\u201d green message has been created.\n<p><a class=\"lightbox-image-link\" title=\"cPanel Add Subdomain.\" href=\"\/knowledgebase\/cpanel-add-subdomain.png\" rel=\"lightbox[583]\" data-lightbox=\"roadtrip\"><br \/>\n <img class=\"thumbnail\" src=\"\/knowledgebase\/cpanel-add-subdomain.png\" alt=\"cPanel Add Subdomain\" \/><br \/>\n <\/a><\/p>\n<\/li>\n<li>Once you create the subdomain you can browse the contents in two different URL , e.g if you create subdomain support.mydomain.com you can use the URL http:\/\/support.mydomain.com or http:\/\/www.mydomain.com\/support.<\/li>\n<\/ol>\n<h2>Remove Subdomain in cPanel<\/h2>\n<p>To remove the subodmain from cPanel<\/p>\n<ol>\n<li>Login into your cPanel control panel.<\/li>\n<li>Locate <strong>Domains<\/strong> tab and click <strong>subdomains<\/strong> icon.<\/li>\n<li>From the<strong> Modify a Subdomain <\/strong>under <strong>Action<\/strong> click <strong>Remove<\/strong>.\n<p><a class=\"lightbox-image-link\" title=\"cPanel Modify a Subdomain.\" href=\"\/knowledgebase\/cpanel-manage-subodmain.png\" rel=\"lightbox[583]\" data-lightbox=\"roadtrip\"><br \/>\n <img class=\"thumbnail\" src=\"\/knowledgebase\/cpanel-manage-subodmain.png\" alt=\"cPanel Modify a Subdomain\" \/><br \/>\n <\/a><\/p>\n<\/li>\n<\/ol>\n<h2>How to Redirect Subdomain to another page in cPanel<\/h2>\n<p>cPanel allow you to mange redirection for subdomain , to do so :<\/p>\n<ol>\n<li><strong>Login<\/strong> to <strong>cPanel<\/strong> Control Panel , link look like https:\/\/yorudomain.com:2083<\/li>\n<li>Locate <strong>Domains<\/strong> section then click <strong>subdomains<\/strong> from your cPanel dashboard.<\/li>\n<li>From <strong>Modify a Subdomain<\/strong> list under <strong>Actions<\/strong> click <strong>Manage Redirection<\/strong>\u00a0<\/li>\n<li>In <strong>Redirection<\/strong> Page In the text box, type the URL to which you would like visitors to be redirected if they go to the subdomain and click <strong>Save button<\/strong>.now the visitors will redirect to the new page you entered once they visit your subdomain URL\n<p><a class=\"lightbox-image-link\" title=\"cPanel redirection Subdomain.\" href=\"\/knowledgebase\/cpanel-subdomain-redirection.png\" rel=\"lightbox[583]\" data-lightbox=\"roadtrip\"><br \/>\n <img class=\"thumbnail\" src=\"\/knowledgebase\/cpanel-subdomain-redirection.png\" alt=\"cPanel redirection Subdomain\" \/><br \/>\n <\/a><\/p>\n<\/li>\n<li>To Disable Redirection from the same page you can click<strong> Disable Redirection button<\/strong>. your will get Message <b>Redirection has been disabled on subdomain .<\/b><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Subdomain in cPanel subdomains is memorable URLs for different content areas of your site. For example, you can create a sub-domain for your blog that is accessible through blog.example.com and www.example.com\/blog ,cPanel\u00a0 package allows you to create unlimited sub-domains for your primary domain. Create Subdomain in cPanel Login to your cPanel account. in cPanel dashboard [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":621,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[45,5],"tags":[4,118,46,119],"_links":{"self":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/619"}],"collection":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/comments?post=619"}],"version-history":[{"count":7,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/619\/revisions"}],"predecessor-version":[{"id":627,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/619\/revisions\/627"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media\/621"}],"wp:attachment":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media?parent=619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/categories?post=619"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/tags?post=619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}