httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Cohen" <apa...@gej-it.com>
Subject RE: [users@httpd] How To VirtualHOST -> APACHE & NT
Date Thu, 16 Jan 2003 06:30:04 GMT
You have to add the hostnames you want your clients to access to be added to
your hosts. file.
On Win9x go to $windows$ folder and edit hosts.
On NT/2000 go to $winnt$\system32\drivers\etc and edit hosts.
Add the IP of the internal server right below 127.0.0.1 localhost eg.
127.0.0.1 		localhost
192.168.0.10 	accounting.lan purchase.lan

BTW, this is a networking question and nothing to do with Apache.

All the best,
Jeff Cohen


> -----Original Message-----
> From: Master Web Era Sinar [mailto:webmaster@erasinar.com]
> Sent: Thursday, January 16, 2003 4:38 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] How To VirtualHOST -> APACHE & NT
> 
> Hi Jurgen
> Again ..
> 
> But Ineed is Just For My Local Area Network.
> 
> Thx
> 
> ----- Original Message -----
> From: "Jurgen" <apache@squarehosting.com>
> To: <users@httpd.apache.org>
> Sent: Wednesday, January 15, 2003 10:21 PM
> Subject: Re: [users@httpd] How To VirtualHOST -> APACHE & NT
> 
> 
> > Hi,
> >
> > you have to create a DNS setup then.
> >
> > Jurgen
> >
> >
> > On Thu, 16 Jan 2003 13:17:36 -0800
> > "Master Web Era Sinar" <webmaster@erasinar.com> wrote:
> >
> > > Hi Jurgen .
> > >
> > > I Means, My Browser Can't find http://accounting.lan and
> http://purchase.lan
> > >
> > > Thanks
> > >
> > > ----- Original Message -----
> > > From: "Jurgen" <apache@squarehosting.com>
> > > To: <users@httpd.apache.org>
> > > Sent: Wednesday, January 15, 2003 9:38 PM
> > > Subject: Re: [users@httpd] How To VirtualHOST -> APACHE & NT
> > >
> > >
> > > > 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
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
> > ---------------------------------------------------------------------
> > 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
> >
> 
> 
> ---------------------------------------------------------------------
> 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


---------------------------------------------------------------------
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