V
V
v_k2010-10-03 18:11:14
Apache HTTP Server
v_k, 2010-10-03 18:11:14

undefined virtual hosts in apache

Please tell me how to make sure that all requests for domains under which virtualhost is not configured go to a specifically configured virtualhost?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
Janaaki, 2010-10-03
@Janaaki

Make it the first in the config on the given ip and port.

M
moronoid, 2010-10-04
@moronoid

You can also create <VirtualHost _default_:80>.

V
v_k, 2010-10-04
@v_k

Thank you all for your help! Also, apparently, you need to specify an ip address in ServerName so that Apache does not try to resolve the host name by ip.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question