Bluehost.com Web Hosting $6.95

Can Apache use the hosts file to resolve names to ip number?

This is a discussion on Can Apache use the hosts file to resolve names to ip number? within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi, Can Apache use the hosts file to resolve names to ip number? Or do I need to use the ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-12-2005
peter(AT)widernet(DOT)org
 
Posts: n/a
Default Can Apache use the hosts file to resolve names to ip number?

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

  #2 (permalink)  
Old 10-12-2005
Phil Frisbie, Jr.
 
Posts: n/a
Default Re: Can Apache use the hosts file to resolve names to ip number?

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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:10 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0