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!

Create subdomains best practice?

Discussion in 'Bind/DNS/Nameserver' 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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,532
    Likes Received:
    1,966
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    spiderlinginc likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice