Ok so heres the low down. I have my computer also as a webserver for my website. Recently i have agreed to host my buddies website also. I set the directories up as this:
/www - Holds my website, its the root folder.
/www/Arcadia - Holds all the website files for his site.
I then setup Apache to use virtual hosting. This works fine for www.wacker7.com which is hosted in the root folder "www". BUT, www.arcadia-studios.com is showing the files from the root folder also. So they both go to www.wacker7.com.
Now this just means that Apache is not directing his .com into its folder, and i dont know why. Heres the code from apache's config
.Code:# # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # #<VirtualHost *:80> # ServerAdmin [email protected] # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost> <virtualHost *> ServerAdmin [email protected] DocumentRoot c:\appserv\www ServerName www.wacker7.com </virtualHost> <virtualHost *> ServerAdmin [email protected] DocumentRoot c:\appserv\www ServerName wacker7.com </virtualHost> <virtualHost *> ServerAdmin [email protected] DocumentRoot c:\appserv\www\Arcadia\index.html ServerName www.arcadia-studios.com </virtualHost> <virtualHost *> ServerAdmin [email protected] DocumentRoot c:\appserv\www\Arcadia\index.html ServerName arcadia-studios.com </virtualHost>