On Tue, Jun 14, 2005 at 03:38:06PM +0200, Andre Venter wrote:
/etc/apache2/default-server.conf
better yet -- since that doesn't actually declare a virtual host (the name is a bit of a misnomer) -- create a /etc/apache2/vhosts.d/_default.conf. The underscore makes sure that it is loaded first, so it will become the default vhost. This is suitable for more complex setups with several IP addresses and different ports. Check what you've got with 'httpd2 -S'. Peter
----- Original Message ----- From: Raoul Snyman To: SuSE Linux English Sent: Tuesday, June 14, 2005 3:07 PM Subject: [SLE] Default domain when access apache via IP number
I have a number of virtual host .conf files under /etc/apache2/vhosts.d/ and the sites sit under /srv/www/vhosts/
Now, when I access the server via the IP number (http://xxx.xxx.xxx.xxx it defaults to the first virtual domain in /etc/apache2/vhosts.d/
Where or how do I set my default domain to be a specific domain, even it is hosted as a virtual domain?
-- the tasty machine that goes "ping" ate the pink can of spam