Khao8
01-05-2009, 12:50 AM
Hi
I'm in the process of ordering a dedicated server (from www.volumedrive.com ) and I will buy a maybe 2 or 3 domain names for websites hosted on my dedicated server. (will probably go for www.godaddy.com to buy the domain names)
In the past, I've had quite a lot of web hosts with domain names and they were always giving instructions on how to setup DNS records so it has always been easy to follow instructions but now I am wondering how do I set up these things on my dedicated server?
For the A records, I believe all I will have to do is put my server's IP in it and it will work but what about the nameservers? I have absolutely no idea about what a nameserver is and how it works. Is it something I need to take care of?
I don't think I can make them point to my server because there's always more than 1 nameservers for redundancy so only having one nameserver is not safe.
Thanks!
To be honest, if you don't know those things, stay away from a dedicated server or go with a full managed server where they do everything for you.
Khao8
01-05-2009, 10:35 AM
I know how to manage a server I've transformed my old PC into an ubuntu server for years and have had a lot of stuff on it like apache php mysql SVN etc.. It's only when it comes to domain names that I don't know much.
Any help would be really appreciated, I've done research on google but haven't had any luck.
Nathan D.
01-05-2009, 11:11 AM
To be honest, if you don't know those things, stay away from a dedicated server or go with a full managed server where they do everything for you.
Wrong answer. That is ridiculous for you to tell someone that. This is how people learn.
volumedrive
01-05-2009, 05:32 PM
If your not using a control panel, your going to want to install a DNS program like BIND.
This seems to be a good tutorial:
http://www.howtoforge.com/installing-an-ubuntu8.04-dns-server-with-bind-p4
From a registrar perspective. You'll want to create a NS1 and NS2 sub domain which point to your servers two IP addresses respectively. Then point all domains you want on this server to the NS1 and NS2 records you have created.
Once BIND is configured on your machine. It will start resolving hostnames.
Khao8
01-06-2009, 04:35 PM
Thanks a lot for your help!
So I've registered my domain with godaddy, installed BIND on my server and using Webmin I configured it like it should. Now the only problem is when trying to put my custom nameservers in godaddy it tells me "Nameserver not registered"
Is it because of the time-to-live with DNS informations that godaddy doesn't accept my custom nameservers?
Here's my record file for my domain :
$ttl 30M
MYDOMAIN.com. IN SOA ns1. MYDOMAIN.com. MYEMAIL (
1231269216
30M
3600
604800
38400 )
MYDOMAIN.com. IN NS ns1. MYDOMAIN.com.
MYDOMAIN.com. IN NS ns2. MYDOMAIN.com.
MYDOMAIN.com. IN A 66.197.167.X
ns1. MYDOMAIN.com. IN A 66.197.167.X
ns2. MYDOMAIN.com. IN A 66.197.167.X
www. MYDOMAIN.com. IN CNAME MYDOMAIN.com.
(I removed my private informations but it should be enough to see if there are any mistakes)
Thanks
craider
01-07-2009, 04:48 AM
So I've registered my domain with godaddy, installed BIND on my server and using Webmin I configured it like it should. Now the only problem is when trying to put my custom nameservers in godaddy it tells me "Nameserver not registered"
I think it's because the nameservers (with its corresponding IP addresses) have not been registered with the registry yet. What is the TLD of your nameservers and the domain you wish to point to that nameservers?
PoojaS
01-07-2009, 05:18 AM
Yes, The name servers should be registered at registrar end and then only you can assign it to your domain.
Private Name Servers has to be registered with the IP Address in registrar's control panel.
Khao8
01-07-2009, 09:54 AM
Thanks a lot guys it worked! I had to register my nameservers on godaddy as "Hosts" before setting them as my domain's nameservers!
Again, thanks a lot for the help.