Results 1 to 4 of 4
-
05-21-2009, 06:33 PM #1Junior Guru
- Join Date
- Apr 2009
- Posts
- 215
Virtual hosts : need help my sites are not pointing to the right document root
Hi everybody,
I installed a centos4.7 with ISPCONFIG2 control panel, but any account I create it points to the documentroot of apache.
I am running my server behind a router.
On the /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf the document roots are :
Document Root /var/www/web11/web for xxx1.com
Document Root /var/www/web10/web for xxx2.net
but when i type ant site, it goes to : Document Root /var/www/
Can anyone help me please , i need to have my sites up by tomorrow,
Please Help!
-
05-21-2009, 06:57 PM #2Web Hosting Master
- Join Date
- Jun 2006
- Posts
- 1,112
Silly question - are the domains correct / matching those configured?
-
05-21-2009, 07:13 PM #3Newbie
- Join Date
- Jan 2006
- Posts
- 19
Document Root /var/www/web11/web for xxx1.com
Document Root /var/www/web10/web for xxx2.net
Looks correct to me. I have ISPConfig and that is where the docs for the sites are located. What do you have in the <VirtualHost _default_:Your Port Number> section of your /root/ispconfig/httpd/conf
-
05-22-2009, 08:06 AM #4Junior Guru
- Join Date
- Apr 2009
- Posts
- 215
Thank for your relpy,
I have port 81.