Terrian Posted March 21, 2017 Report Share Posted March 21, 2017 I read several posts on subdomain roots but didn't understand the answers. In short, I have a main domain, and one subdomain, which was created under /public_html/subdomain I just added a second subdoman, which was added under root... /my2ndsubdomain Does this mean the new subdomain is not public and won't be seen on the Web? I only purchased the domain to use for mail, so it actually doesn't need a Web presence, but I do need to make sure it will work for mail. Is it ok as is? Thank you! Quote Link to comment Share on other sites More sharing options...
Tony Posted March 21, 2017 Report Share Posted March 21, 2017 The short answer is the new subdomain will be seen on the web and it'll work fine. The long explanation is: The idea of a public_html folder is really an old way of thinking. The web server is capable of showing a site regardless of the folder it is in. As a result of this cPanel now automatically places any new subdomains/addon domains below your public_html folder. It allows for easier organization and makes so you don't have a case of the content of one subdomain/domain loading from the primary domain of the account also. You can also be even more flexible and do things like: blogs/domain.com blogs/domain2.com forums/domain.com forums/domain2.com Terrian 1 Quote Link to comment Share on other sites More sharing options...
Terrian Posted March 22, 2017 Author Report Share Posted March 22, 2017 Thank you so very much! That was an explanation I could understand! And I already have mail working. One last question... since I don't need a web presence for this site, it is required I throw up an index page, or do I not need to bother? Thank you again! Quote Link to comment Share on other sites More sharing options...
Tony Posted March 22, 2017 Report Share Posted March 22, 2017 You don't need to bother throwing up an index but it really doesn't hurt uploading an empty index.html file so it's not a directory listing when you visit the site. Terrian 1 Quote Link to comment Share on other sites More sharing options...
Terrian Posted March 22, 2017 Author Report Share Posted March 22, 2017 Thank you so very much. Will do that. Appreciate all your help. Have a great day. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.