Ignore Apache Default Server?
Posted
by
Jakobud
on Server Fault
See other posts from Server Fault
or by Jakobud
Published on 2013-10-19T15:41:47Z
Indexed on
2013/10/19
15:57 UTC
Read the original article
Hit count: 157
I run several vhost
s on our Apache server. Whenever browse the server using either it's IP address or some other name that resolves to that address, but where a virtual host entry doesn't exist for that address I get the generic Apache test page:
I want to change the server so I can specify a Virtual Host to see by default instead of the Apache Default Server page. I don't want to just modify the Default Server page either. I just need to be able to specify a Virtual Host to use instead.
I added the following Virtual Host:
<VirtualHost _default_:*>
DocumentRoot /vhosts/default/public
</VirtualHost>
What I am reading is supposed to take priority over all other Virtual Hosts as the default. But this doesn't seem to take priority over the Apache Default Server/Host.
What do I need to do here?
© Server Fault or respective owner