httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Newbie Question....
Date Tue, 10 Jun 2003 19:23:22 GMT

On Tue, 10 Jun 2003, Yves Arsenault wrote:

> Desired Results:
> When I type my server's IP in the web browser, I would like it to be
> directed to another location(where I've already made a default page) and not
> see the site I've just set up.

You aren't clear on whether you are using IP-based or name-based virtual
hosting.  (See the virtual host docs for a definition.)

Assuming you are using name-based virtual hosting, simply put the
following BEFORE your existing <virtualhost>

<VirtualHost ip>
ServerName ip
DocumentRoot /wherever/you/want


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message