View Single Post
  #2  
Old 16th September 2005, 20:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Quote:
Originally Posted by Hellbound
hi guys,
I've setup couple of website on my server but if I type the server ip in browser, it will popup the first domain sorted alphabetically, which I want to change that to my server homepage.

how?
When you have no matching name based vhost, apache will show the first site it finds for the doamin. To have a global default for this case, you can add a default vhost to your httpd.conf before the line:
Include /etc/apache/vhosts/Vhosts_ispconfig.conf:

<VirtualHost 192.168.0.1>
ServerAdmin webmaster@yourdomain.com
DocumentRoot /path/to/your/company/website/
</VirtualHost>

Dont forget to change the IP, emailaddress and path
Reply With Quote