Hi guys,
I am planning to resell hosting accounts on my VPS to businesses as part of
a web design and programming job that I do now. However, I appear to be
having some problems with bind9, and setting up my own nameservers. I
originally thought that a domain translates to an IP and that was the end of
it.
This is what I know so far:
-I need 2 subdomains,
ns1.mydomain.com and
ns2.mydomain.com
This is what I have no idea about:
-Do these subdomains have to be on different servers, or just different
IP's? Can they even use the same IP?
-If they need to be different, can my hosting server be on 1.2.3.4 if my
nameservers are: 1.2.3.4 and 5.6.7.8
I have followed this:
https://help.ubuntu.com/10.04/serverguide/C/dns-configuration.html in order
to set up my first nameserver, and it will now ping
example.com if I set the
resolv.conf to use itself.
If I set
turasmara.com to use that nameserver, and ping it from my home box
I do not get anything. However if I ping it from the VPS I get:
root@hostinghaven:~# ping
turasmara.com
PING
turasmara.com (1.2.3.4) 56(84) bytes of data.
64 bytes from
www.domainname.com (1.2.3.4): icmp_seq=1 ttl=64 time=0.018 ms
What have I done wrong...and what do I till need to do to get this to work?
Thank you,
Daniel