Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2000 20:40:53 +1000
From:      "Doug Young" <dougy@gargoyle.apana.org.au>
To:        "Bryan Bradsby" <Bryan.Bradsby@capnet.state.tx.us>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: DNS for virtual hosting
Message-ID:  <010601bfa859$68aa7320$847e03cb@ROADRUNNER>
References:  <Pine.BSF.4.21.0004162110390.4508-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the response Bryan

> MX records pointing mail for "someplace_else.com" to your sendmail server.
> See the sendmail docs on VirtualUserTable to see how to setup to receive
> and deliver the incoming mail.

OK .... strangely enough I haven't had a lot of problems recently with
configuring sendmail despite the many adverse comments I've heard about it,
mind you I did stumble across a one page setup text intended for <cough>
Redhat <cough cough> that covered the basics quite well
>
> Two possible solutions here. I like number 2.

Agreed .... I've got public IP addresses but would rather not waste them.
However I haven't a clue in the world what you mean by "virtual IP".
& exactly where to put the "zone file" ?? I haven't been to the site you
provided yet, hopefully that will answer those queries.
>
> 1. Use one IP for each virt web site. (wasteful).
>    Your zone file would look something like this:
>
> www.someplace_else.com in  a   www.xxx.yyy.zzz ; virtual IP
>
>
> 2. Use one IP for the apache server, and virtual web sites.
>
> www.someplace_else.com  in  CName   somewhere.net.
> www.another_one.com     in  CName   somewhere.net.
>
> Of course number 2 has implications in your apache httpd.conf file.

I printed out about 37 pages of Apache docs that appear to cover the
issue of name based virtual hosting fairly well ..... at this point I don't
expect to have a problem with configuring apache, its just the DNS
stuff thats got me confused.
>
> You need DNS primary and secondary on two separate servers. Preferably
> geographically diverse.

By "geographically diverse" do you mean that the record for
"someplace_else.com" has to be in another location than the
"somewhere.net" machine before INTERNIC will recognize
the "somewhere.net" machine as a "proper" DNS server ??




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?010601bfa859$68aa7320$847e03cb>