I have ran 2 sites under one server before. However, I didn't pay much attention to how they were arranged in the public_html folder. I have two folders in the public_html folder and they are called XXX.com and ZZZ.com. However, when I try to pull the sites up, I get an index listing the sites. How can I fix this problem? Thanks!
Make sure that you have index.html files in them, or index.php. These are the default files that apache parses when there is no file name given.
It seems that default page is not set. You can set is using .htaccess file too. Just add following line in your .htaccess file: DirectoryIndex index.php index.html index.htm Kailash
I dont get it too... in my server, public_html folder is my root, so if there are 2 folders in it: xxx.com and zzz.com then to access them : mysite.com/xxx.com and mysite.com/zzz.com ? correct me if I am wrong..