Results 1 to 2 of 2
Dear Users, I host the following 2 website on my system named as: 1) www.mysite.com 2) www.mysite1.com When i open #1 site its open successfully but when i want to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-03-2004 #1
- Join Date
- Mar 2004
I host the following 2 website on my system named as:
When i open #1 site its open successfully but when i want to open #2 site
its shows the webpage of # 1 site.
My sites directory are as follows:
I checked the directory path again & again but its Ok.Also DNS working successfully too, but i cant understand wat i forget in configuration.
Also my webmail (squirrelmail) is not open they show directory Index
what can i do to solved all the above mentioned problems
- 08-03-2004 #2
- Join Date
- Apr 2003
- London, UK
Have you configured virtual hosts in your httpd.conf?
Eg, for virtual hosts you might have the following at the bottom of your httpd.conf
NameVirtualHost * <VirtualHost *> DocumentRoot var/www/html/site1 ServerName mysite.com ServerAlias www.mysite.com </VirtualHost> <VirtualHost *> DocumentRoot var/www/html/site2 ServerName mysite1.com ServerAlias www.mysite1.com </VirtualHost>