httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jurgen <apa...@squarehosting.com>
Subject Re: [users@httpd] How To VirtualHOST -> APACHE & NT
Date Thu, 16 Jan 2003 05:38:36 GMT
Hi,

what do you mean with "I can't reach"?
Do you get web pages displayed or just complaints from the browser indicating it doesn't find
the server?

Jurgen


On Thu, 16 Jan 2003 12:07:22 -0800
"Master Web Era Sinar" <webmaster@erasinar.com> wrote:

> Hi All.
> 
> Sorry I Have Bad English, and Iam New In This Room.
> 
> Im installing Apache 2.0.43 on NT SP6, with 512MB, 20Gb on Local Area Network.
> 
> I Want My Apache Operate Like a Virtual Host, So The User can Open The Site Like
> 
> http://erasinar.lan  so they can reach the main site.
> http://accounting.lan they will reach my web accounting program 
> http://purchase.lan they can reach purchasing web program.
> 
> So I Configured http.conf like
> 
> # If your host doesn't have a registered DNS name, enter its IP address here.
> # You will have to access it by its address anyway, and this will make 
> # redirections work in a sensible way.
> #
> ServerName erasinar:80
> 
> and
> 
> NameVirtualHost *
> 
> #
> # VirtualHost example:
> # Almost any Apache directive may go into a VirtualHost container.
> # The first VirtualHost section is used for requests without a known
> # server name.
> #
> <VirtualHost *>
>     DocumentRoot d:/webs/lan
>     ServerName erasinar.lan
> </VirtualHost>
> 
> <VirtualHost *>
>     DocumentRoot d:/webs/accounting
>     ServerName accounting.lan
> </VirtualHost
> 
> <VirtualHost *>
>     DocumentRoot d:/webs/purchase
>     ServerName purchase.lan
> </VirtualHost>
> 
> The Problem is I Can Reach http://erasinar.lan but i cant reach http://accounting.lan
and http://purchase.lan,
> Anybody knows what Iam Wrong?
> 
> 
> Thx
> 
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message