Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I run several vhosts 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:

enter image description here

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

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?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

That welcome page is generated by /etc/httpd/conf.d/welcome.conf. If you remove/move away that file and restart/reload apache you won't be getting this welcome page anymore.

share|improve this answer
But then I just get the first vhost conf that is read by Apache. How do I manually specify EXACTLY which vhost I want to see by default instead? –  Jakobud Oct 19 '13 at 19:55
Oh nevermind I guess I just answered my own question. Just created a 000-default.conf that loads first. Thanks. –  Jakobud Oct 19 '13 at 19:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.