Warning: session_start(): open(/var/cpanel/php/sessions/alt-php74/sess_d7ababe3d5a5e740fb3c9500e6cb8db9, O_RDWR) failed: No such file or directory (2) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php74) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358
How To Create Remove and Redirect a subdomain in cPanel - XsoftHost

How To Create Remove and Redirect a subdomain in cPanel

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  package allows you to create unlimited sub-domains for your primary domain.

Create Subdomain in cPanel

  1. Login to your cPanel account.
  2. in cPanel dashboard locate Domains section then click Subdomains icon.


    cPanel Subdomain

  3. On the next Page enter the subdomain ,then select the primary domain from the list , also you can change the default document Root and click Create button, then you can see Success: “yoursubdomain” green message has been created.


    cPanel Add Subdomain

  4. 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.

Remove Subdomain in cPanel

To remove the subodmain from cPanel

  1. Login into your cPanel control panel.
  2. Locate Domains tab and click subdomains icon.
  3. From the Modify a Subdomain under Action click Remove.


    cPanel Modify a Subdomain

How to Redirect Subdomain to another page in cPanel

cPanel allow you to mange redirection for subdomain , to do so :

  1. Login to cPanel Control Panel , link look like https://yorudomain.com:2083
  2. Locate Domains section then click subdomains from your cPanel dashboard.
  3. From Modify a Subdomain list under Actions click Manage Redirection 
  4. In Redirection 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 Save button.now the visitors will redirect to the new page you entered once they visit your subdomain URL


    cPanel redirection Subdomain

  5. To Disable Redirection from the same page you can click Disable Redirection button. your will get Message Redirection has been disabled on subdomain .
Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts