Regarding Virtual Hosts & Domains

Eduardo Viruena Silva mrspock at esfm.ipn.mx
Sat May 17 22:37:08 PDT 2003


On Sat, 17 May 2003, Matthew L wrote:

> Hi,
>
>     This e-mail is regarding setting up virtual hosts and hosting more
>     then one domain on my freebsd machine.  I currently registered two
>     domains and i was wondering how i would host both domains on my
>     computer so both domains can point to separate index.html pages and
>     be totally independent of eachother.  Example: so www.mydomain.com
>     points to a different site then www.mydomain2.com would this be done
>     my adding entries into the namedb directory.  Also, i know that
>     virtual hosts has to be done within httpd.conf but i'm not to sure
>     how to go about that.  Any clue on how i can go about setting up
>     virtual hosts along with having multiple domains being hosted off my
>     local machine instead of someone else.  Thank you, all advice is
>     welcome.  Look forward to hearing from some people.  Once again all
>     ideas are greatly apperciated.


You can use apache 1.3 http server [it is in the ports].
What you want to do can be done configuring Virtual Hosts, described in
apache handbook:

http://httpd.apache.org/docs/vhosts/index.html

>
> Regards, Matthew.
>
>
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

-                         ______                     _
            *           /   /###\                   / \       __
 /\  /\             *  /  ./#### \         *     \__|_/      |  |
/  \/  \               |   b#####|   *            _ |   __   |  |  __
=    .. \____          \ \_\#####/               / \|  /  \  |  | /\_\/
=          \_|    *     \___\###/       *        \_/\_/\__/\__\/_/\__/
 =   \______/           _
  | |


More information about the freebsd-questions mailing list