Results 1 to 4 of 4
  1. #1

    * 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!

  2. #2
    Join Date
    Jun 2006
    Posts
    1,112
    Silly question - are the domains correct / matching those configured?

  3. #3
    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

  4. #4
    Thank for your relpy,
    I have port 81.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •