WHM/cPanel

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.



  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.



  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.



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



  5. To Disable Redirection from the same page you can click Disable Redirection button. your will get Message Redirection has been disabled on subdomain .
XsoftHost Support

Share

Recent Posts

Add Extra IP addresses to server configuration On Ubuntu 17.10 and later

Each failover IP address will need its own line in the configuration file. The configuration…

4 years ago

Create RAID Arrays with mdadm on Ubuntu

What is mdadm? The mdadm utility can be used to create and manage storage arrays…

4 years ago

How to change the maximum upload file size for PHP

There are several scenarios that you might need to increase or decrease your php maximum…

6 years ago

How to install Let’s Encrypt Plugin in WHM/cPanel

What is Let’s Encrypt? Let’s Encrypt is a free certificate authority provided by the Internet…

6 years ago

How to install python in my cPanel and add py extension

Python normally installed on all cPanel hosting server because most of Centos/red hat update system…

6 years ago

How to install and enable GUI GNOME Desktop on centos 7

Usually CentOS 7 comes in a numbers of variants, For most users, there are two…

6 years ago