harvey_s Posted June 25, 2005 Posted June 25, 2005 can I load a different index.html into the subdirectory for each of my subdomains so that each subdomain has a different home page that can be accessed directly ? In that case would it also be ok to leave public_html empty ? Quote
TCH-Rob Posted June 25, 2005 Posted June 25, 2005 Yes and yes, though I would at least put up a blank index page in public_html. Quote
TweezerMan Posted June 25, 2005 Posted June 25, 2005 Welcome to the forums, harvey_s! Yes, you can place a different index.html file in each subdomain's subdirectory. Whether you place an index.html file in the public_html file is up to you. I'd sugeest putting one in there, just so visitors who browse to the main domain would see something other than a directory listing or a 404 / 403 error page, but the choice is yours. Quote
TCH-RobertM Posted June 25, 2005 Posted June 25, 2005 Welcome to the forums harvey_s As previously stated you can have seperate index pages for subdomains. Also you do not need an index page for your main domain as you can create an .htaccess rewrite rule that would automatically forward visitors to the subdomain of your choice. Quote
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.