-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Graeme Simpson wrote:
Hi Bitfolks,
I've just signed up to Bitfolk and could do with a bit of assistance
with DNS.
I've signed up for a couple of domain names with
godaddy.com. I've
bought simmo.gs and goodwithwords.eu.
I'm not certain of the order I should be doing things and the
configuration I should be setting up on my debian vps box.
Does anyone have any guidance they could offer? Or even a sample zone
file that I could copy.
I have done this sort of thing before, but it's been a while and I
appear to have forgotten swathes. I won't be offended to be treated like
a numpty!
I think most people have assumed that you want to run your own DNS, but
it's not clear from your email that that's what you want to achieve, or
whether you simply want to point your domain names at your VPS.
If you all you want to do is point the domain names at the VPS you have
with Bitfolk to serve websites on those addresses, there's not
necessarily any need to run your own DNS, assuming that
godaddy.com
provides some kind of DNS control panel or you don't mind using a 3rd
party DNS service.
If all you want to do is run a website on those domain names from your
VPS, simply create a DNS A record in the
goddaddy.com DNS control panel
which points to the IP address of your VPS. Commonly practice is to have
records for both simmo.gs and
www.simmo.gs that point at the same IP, so
people get the same website regardless of whether they include the www.
part. If all you want to do is serve a website from them, then that's
enough, you just configure your webserver to serve a particular website
when it receives a request for one of those domains.
If
godaddy.com don't do a DNS control panel, you can sign up with DNS
provider, I think one has been recommended previously in the thread and
I used
zoneedit.com in the past, though it only allows you 5 free
domains before they start expecting money. You then tell
godaddy.com
what your DNS new servers are for your domains (ie the ones provided by
the 3rd party).
If you want to serve a different website on (
www.)goodwithwords.eu to
the one you serve from (
www.)simmo.gs on the same VPS with one IP, then
you need to look at name based virtualhosts. Assuming you're using
Apache as your web server:
http://httpd.apache.org/docs/2.2/vhosts/name-based.html
If you also want to start serving mail from your VPS, then you need to
create MX records in whatever DNS service you use which point at the
*hostname* of your VPS (not the IP). More on MX records:
http://en.wikipedia.org/wiki/MX_record
BIND specific:
http://www.zytrax.com/books/dns/ch8/mx.html
Apologies if I've got the wrong end of the stick and you're question has
already been answered adequately.
Regards,
Adam Sweet
- --
http://blog.adamsweet.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iEYEARECAAYFAktLviAACgkQRi1ZcmvD37fZnACeNMyQ/C/eVBmhfH8yvEB7OhZB
wRoAn3uZgsq2E8D5LWzVbV2yAh3zLlbY
=JC85
-----END PGP SIGNATURE-----