HOW TO CREATE A SUBDOMAIN IN CPANEL

  Uncategorized

INTRODUCTION

Creating a subdomain allows you to establish a separate section of your main website, which can be useful for organizing different parts of your site or creating a distinct web presence for different purposes

Follow these steps to create a subdomain in cPanel:

STEP 1 : Log into cPanel

Access your cPanel account using your username and password.

STEP 2 : Navigate to Domains

  • In the cPanel dashboard, scroll down to the “Domains” section.
  • Click on “Domains.”

STEP 3 : Create a New Domain

Click the “Create A New Domain” button.

STEP 4 : Enter the Subdomain name

In the “Domain” text box, enter the subdomain name you want to create (e.g., subdomain.example.com).

STEP 5 : Document Root Option

Deselect the option “Share document root (/home/username/public_html) with ‘domain. tld’.” This will ensure the subdomain has its own separate directory.

STEP 6 : Specify the Directory:

Enter the directory path where you want the files for this subdomain to reside. This could be something like /home/username/public_html/subdomain or any other desired directory.

STEP 7 :  Submit

Click the “Submit” button to create the subdomain.

After completing these steps, your new subdomain should be set up and ready to use. You can then upload content to the specified directory, and it will be accessible via the subdomain URL.

Conclusion:

Creating a subdomain in cPanel is a straightforward process that allows you to manage different sections of your website efficiently. By following these steps, you can set up a subdomain with its own directory, providing a distinct space for organizing your web content. Once the subdomain is created, you can upload the necessary files and start utilizing your new web space for its intended purpose.

LEAVE A COMMENT