Regarding Virtual Hosts
kmidtset at c2i.net
Sat May 17 03:27:52 PDT 2003
On Friday, 16 May 2003 at 19:29:56 -0700, Matt L wrote:
> Hi this e-mail is regarding setting up virtual hosts using freebsd and hosting multiple domains to point to my ip. I currently registered three domains and i'd like to host my web sites off my local machine. I was wondering how would i be able to have, http://www.mydomain.com and http://www.mydomain2.com both domains pointing to different pages. The problem i'm currently having is; both domains point to the same default domain being, domain 1. Would i create the virtual hosts within httpd.conf? if so how do i go about this. Also, would i add the domains i want to host on my machine within namedb? Any clue or how to pages would be greatly apperciated.
I have set up my site to do what you intend. All steps required are documented at http://freebsd.la3sg.net/index.php?to=app_webaliz
More information about the freebsd-questions