Date: Fri, 4 May 2001 17:00:44 -0400 From: "Elliott Perrin" <eperrin@bigorbit.com> To: "G. Jason Middleton" <gmiddl1@gl.umbc.edu>, <freebsd-questions@FreeBSD.ORG> Subject: Re: hosting multiple domains with one IP Message-ID: <049301c0d4dd$49efd810$8701a8c0@bottleneck2000> References: <Pine.LNX.4.31L.02.0105041639480.23016-100000@linux1.gl.umbc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Within Apache you have to setup Virtual Hosting. NameVirtualHost aaa.bbb.ccc.ddd <VirtualHost aaa.bbb.ccc.ddd> ServerName www.foo.com ServerAlias *.foo.com foo.com (etc etc) DocumentRoot /www/foo </VirtualHost> Within BIND, point the second domain to the same IP that the first Domain is on..... You will want to put both domains into VirtualHost containers, just easier to do (well I find, but I host about 20 sites on my server) ----- Original Message ----- From: "G. Jason Middleton" <gmiddl1@gl.umbc.edu> To: <freebsd-questions@FreeBSD.ORG> Sent: Friday, May 04, 2001 4:42 PM Subject: hosting multiple domains with one IP > I know if it possible to host mulitple domains with a single IP, but I do > not know how to go about doing this. I know, i know look at the > literature. But i was just wondering if someone could brief me on how > this will work. I am running Apache my current domain and DNS bind on one > of my other machines. What modifications do i need to make to host > another domain? I know i need to point the domain to my DNS servers > through network solutions but what else needs to be done on my server > side? > > Have a good weekend again! > > > Regards, > > G. Jason Middleton > > > _______________________________________________________________________________ > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?049301c0d4dd$49efd810$8701a8c0>