Keep getting centos default apache page....

Discussion in 'Installation/Configuration' started by beardo, May 14, 2008.

  1. beardo

    beardo New Member

    I am missing something here....

    I added a test client, test site and ticked admin.

    ftp'd in and replaced index.html in web dir with my file also the user one in user/<user>/web

    I still keep getting the default centos apache page.....

    I followed the instructions on the how to forge article....

    Please help!
  2. beardo

    beardo New Member

    ok, bit more info for those in the know.

    any host is displaying content from here:

    /var/www/html (apache default)

    rather than actual host web dir.

    I just restarted apache and got this error:

    NameVirtualHost has no VirtualHosts

    So it appears that my hosts are not being picked up....

    Anyone able to help ? :confused:
  3. beardo

    beardo New Member

    another point;

    if i visit the ip address i also get the default apache page.....
  4. beardo

    beardo New Member

    checked httpd.conf and the following include is right at the end of the file:

    Include /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf
  5. beardo

    beardo New Member

    This is the output of:

    /usr/sbin/httpd -t -D DUMP_VHOSTS

    VirtualHost configuration:     is a NameVirtualHost
             default server localhost (/etc/httpd/conf/vhosts/Vhosts_ispconfig.conf:9)
             port 80 namevhost localhost (/etc/httpd/conf/vhosts/Vhosts_ispconfig.conf:9)
             port 80 namevhost (/etc/httpd/conf/vhosts/Vhosts_ispconfig.conf:21)
             port 80 namevhost (/etc/httpd/conf/vhosts/Vhosts_ispconfig.conf:68)
    wildcard NameVirtualHosts and _default_ servers:
    _default_:443 (/etc/httpd/conf.d/ssl.conf:81)
    Syntax OK
  6. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf, and what are the outputs of
    ls -la /etc/httpd/conf/vhosts/

Share This Page