Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2005 22:49:39 +0300
From:      "Andrew P." <infofarmer@gmail.com>
To:        "Edwin D. Vinas" <xmisoy@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to setup DNS server and making sub-domains in DSL server
Message-ID:  <cb5206420511061149h15b0339exe4ddf2e5d5398970@mail.gmail.com>
In-Reply-To: <36f5bbba0511061138k4f9b5ef5q2fefed621c9ffc6b@mail.gmail.com>
References:  <36f5bbba0511061138k4f9b5ef5q2fefed621c9ffc6b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/6/05, Edwin D. Vinas <xmisoy@gmail.com> wrote:
> Hi,
>  I need your help please.
> On my personal FreeBSD server connected to an ISP with static IP address,
> I'm planning to setup several websites with their own sub-domains from my
> main domain as shown below. I just want to know some answers to my questi=
ons
> before I start.
>  Main domain: www.exampledomain.ph <http://www.exampledomain.ph>;
> Sub-domains:
> sub1.exampledomain.ph <http://sub1.exampledomain.ph>;
>  sub2.exampledomain.ph <http://sub2.exampledomain.ph>;
>  sub3.exampledomain.ph <http://sub3.exampledomain.ph>;
>  I want to use BIND together with my Apache virtual hosting in one single
> FreeBSD machine.
>  These are my questions:
> 1) Is it correct that I only need to register or pay for the main domain?

Yep.

> 2) Is it correct that through my local DNS server, I can add sub hosts (s=
ub1
> to sub3) without anymore registering those sub domains and pay for them i=
n
> my main domain provider?

It's kinda the same as the first one. Yep.

> 3) Provided that I already have successfully setup my local DNS server,
> Apache virtual hosting and main domain activated, is it straightforward t=
hat
> I can already access the sub domains (i.e., websites) from the Internet?

It's pretty straightforward, but not implicit. You
need to explicitly setup a wildcard subdomain.

> 4) Do I need to register sub1, sub2 and sub3 in any external domain
> provider?

Not if you want to.

> 5) Can you provide some sample configs if you are already doing this setu=
p?

Here's a dump from my xname.org account:

csme.ru.=09=09260000=09IN=09SOA=09ns0.xname.org. infofarmer.mail.ru. 200507=
2201
261000 261000 604800 300
csme.ru.=09=09260000=09IN=09NS=09ns0.xname.org.
csme.ru.=09=09260000=09IN=09NS=09ns1.xname.org.
csme.ru.=09=09260000=09IN=09A=09193.233.5.13
csme.ru.=09=09260000=09IN=09MX=0910 csme.ru.
*.csme.ru.=09=09260000=09IN=09CNAME=09csme.ru.
cs.csme.ru.=09=09260000=09IN=09CNAME=09csme.ru.
css.csme.ru.=09=09260000=09IN=09CNAME=09csme.ru.
mx.csme.ru.=09=09260000=09IN=09CNAME=09csme.ru.
old.csme.ru.=09=09260000=09IN=09CNAME=09killme.ru.
sat.csme.ru.=09=09260000=09IN=09CNAME=09infofarmer.dyndns.org.
source.csme.ru.=09=09260000=09IN=09CNAME=09csme.ru.
www.csme.ru.=09=09260000=09IN=09CNAME=09csme.ru.
zone.csme.ru.=09=09260000=09IN=09NS=09infofarmer.dyndns.org.
csme.ru.=09=09260000=09IN=09SOA=09ns0.xname.org. infofarmer.mail.ru. 200507=
2201
261000 261000 604800 300



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420511061149h15b0339exe4ddf2e5d5398970>