There was a problem loading the comments.

How to Create a Subdomain/Staging Domain

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

You can create branches of your primary domain, which is used for building different aspects of your website, or create a testing environment for your existing site.
This is also known as a subdomain, or staging domain if it is for the testing environment.

 

Click here for the cPanel guide

Click here for the DirectAdmin guide

 

Please follow this guide for cPanel

  1. Log into your cPanel account.
    Follow this guide to log into your cPanel account. Click here
    9691227e5375e0f030d49c60d5b1cb2ca0e12e2b92b1ed107e6fa1a42c51f01aeea1331150e791e8?t=d533c0a21241357f7420d5e1c9917e1d
  2. Head to the Domains section and click Domains.
    daa586d3a3e82e225d4ce4e657394b05e6123029cb4d0fffccac77f328f80e4c4285584a4b259faf?t=181dcdb6fb64df5a530047b9a52c31c1
  3. Click on Create A New Domain.
    aac0e5c62b76f6679f59c7d3b9cf020c8da57935da8ad418b1c126d949d4fc165dfaaafdcc516f0d?t=1b9e9b9fd05c11693465fcd9cb996dc2
  4. In the domain field, enter the subdomain, ensure that the Share Document root option is not ticked and click Submit.
    ie. If my primary domain is example.com, and I wanted to create a staging domain, I would enter staging.example.com
    476157b076059dcd633d444bf79d269397f9577af750a8737616877ca20ea88e939e9c390b93658e?t=65457b28562c3d3bf75016a2c857953b
  5. You'll then be able to access the subdomain, whether you want to install a new website or clone an existing website to it.

 

Please follow this guide for DirectAdmin

  1. Log into your DirectAdmin account
    Follow this guide to log into your DirectAdmin account. Click here
    0148fd187ebe93e8d67a3f79e14e5802f9a7e46fa23a387c2b88a91599e68dec8d4ac039ad6d21e1?t=d400fc9c717dbbda74287e47ee328aff
  2. Head to the Account Manager section and click on Domain Setup.
    a79d1d12b80764f87e838f5be89a377ec6cf669808228f5e6080b25ef3b81edc467b5d379a24ffa8?t=c7246f355208b947b72a30f8891d441d
  3. Click on the +Add New button.
    4d3036546490e55fc4fb2b970967c8ab3a639acd267827c7a4f274c5c73150ffe9dbd58c3be65c88?t=de621dde8c9879d245e18c7bed1e354f
  4. In the domain field, enter the subdomain and click Create.
    ie. If my primary domain is example.com, and I wanted to create a staging domain, I would enter staging.example.com
    f1212e6c8ea6d80dcb00c0e1899a842a6f622ea4a5568d4195e991d8b37310614f390b528a124d09?t=685def53cb1c79b1efc06b0089f0a146
  5. You'll then be able to access the subdomain, whether you want to install a new website or clone an existing website to it.

Share via
Did you find this article useful?  

Related Articles

Tags

© DreamIT Host