Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Create subdomains best practice?

Discussion in 'Bind / DNS / Nameserver Issues' started by spiderlinginc, Jan 19, 2018.

  1. spiderlinginc

    spiderlinginc Member

    Joined:
    Mar 15, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    51
    I have a client that will be in need of many subdomains with Wordpress installs and e-mail accounts.

    Is it best to create the subdomains as actual subdomains (ex: subsite1.mainsite.com) to the root domain (mainsite.com), or create each subdomain as a separate hosting account?

    Also, if creating them as actual subdomains, is it then better for security or other reasons to have the subdomains created outside or inside the root / public_html folder?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,715
    Likes Received:
    1,704
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's a good idea to create a separate cPanel account for each subdomain if individual users will need cPanel access to each subdomain. It may also help to troubleshoot future issues with the accounts if they are separated (e.g. resource usage, spam complaints). That said, it's not abnormal to setup multiple subdomains on a single cPanel account. You can set them up under the public_html directory, or in the account's home directory. It mostly depends on your preferences as opposed to any particular security reason.

    Thank you.
     
    spiderlinginc likes this.
Loading...

Share This Page