_default_ virtual host ?

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

  1. thibotus01

    thibotus01 Member

    Hi,

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

    Code:
    <VirtualHost _default_:80>
            DocumentRoot /var/www/
            ServerAdmin [email protected]
            ErrorLog /usr/local/apache/logs/error_log
            TransferLog /usr/local/apache/logs/access_log
    </VirtualHost>
    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 :

    Code:
    <VirtualHost *:80>
            ServerAdmin webmaster@localhost
    
            DocumentRoot /var/www/
    ......
    but it's only works on the primary IP.. :s
     
    Last edited: Nov 13, 2009

Share This Page