_default_ virtual host ?

Discussion in 'Installation/Configuration' started by thibotus01, Nov 13, 2009.

  1. thibotus01

    thibotus01 Member


    I'm trying to figure out where I have to put the _default_ virtual host

    <VirtualHost _default_:80>
            DocumentRoot /var/www/
            ServerAdmin [email protected]
            ErrorLog /usr/local/apache/logs/error_log
            TransferLog /usr/local/apache/logs/access_log
    To don't get a redirect to the first domain when I put the IP in my browser...
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This si set be the linux distribution automatically, no need to add it manually.
  3. thibotus01

    thibotus01 Member

    Actually I have multiple IP and it seems working only on the primary IP.

    in 000-default :

    <VirtualHost *:80>
            ServerAdmin [email protected]
            DocumentRoot /var/www/
    but it's only works on the primary IP.. :s
    Last edited: Nov 13, 2009

Share This Page