Web Servers on Windows - Can Apache use the hosts file to resolve names to ip number?

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > October 2005 > Can Apache use the hosts file to resolve names to ip number?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Can Apache use the hosts file to resolve names to ip number?
peter(AT)widernet(DOT)org

2005-10-12, 6:11 pm

Hi,

Can Apache use the hosts file to resolve names to ip number? Or do I
need to use the VirtualHost directive?

I'm running Apache 2.0 on Windows 2000 Server to serve about 200+
gigabytes of static content in university intranets in developing
countries. Most schools have no Internet or very limited bandwidth.

In addition, if there are any Apache Proxy and Rewrite gurus out there
who would be able to volunteer their expertise, The WiderNet Project's
digital library needs your help. If you are interested contact me at my
e-mail below.

Thanks,

Peter Yohe
The WiderNet Project
http://www.widernet.org
pyohe(AT)widernet(DOT)org

Phil Frisbie, Jr.

2005-10-12, 6:11 pm

peter(AT)widernet(DOT)org wrote:

> Hi,
>
> Can Apache use the hosts file to resolve names to ip number? Or do I
> need to use the VirtualHost directive?


Apache server would never need to resolve names; that is what a client does.

So, the answer is 'yes, you need to use VirtualHosts in your config file'.

--
Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com