Forum Moderators: buckworks & webwork

Message Too Old, No Replies

New to creating nameservers, please help

         

chopin2256

9:13 pm on Jul 6, 2005 (gmt 0)

10+ Year Member



I bought a vps to host my two sites. I have 4 ip's that I can use. I made 4 nameservers.

I named the nameservers ns1.anything.com to ns4.anything.com to the corresponding IPs.

Is it right in thinking that I can call the nameservers anything I want?

So when I went into Godaddy, i set up the first 2 ips that were given to me, no particular reason, just picked the first two. I put in the new host:

ns1.domain.com (couldnt put in ns1.anything.com)
ip1

ns2.domain.com
ip2

Then when I went to change the actual nameserver in Godaddy to ns1.anything.com and ns2.anything.com, it didn't work. I had to change the nameservers to ns1.domain.com, ns2.domain.com.

So much for customizing. It wouldn't work. Why not? Now do I have to change the nameservers in my WHM to ns1.domain.com?

Can I use the same nameservers for my other site as well? I am pretty confused, I never did this before.

Webwork

3:05 am on Jul 7, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



To the best of my knowledge the answer is "no, you can't name them anything you want" since your domain name actually corresponds to a specific IP address in the zone files, which IP address isn't the same as your server or virtual server's IP address.

Put differently, you are assigned a specific IP address for your webserver but that IP address is not the same as the IP address for the domains that are hosted on the server. This is a cross reference that allows the mapping of the domain IP in the root servers to the webserver's IP.

To the best of my understanding you can point the DNS on the same webserver to multiple domains so long as they are properly mapped OR you are using host headers and then the mapping occurs on the server side, not via DNS.

Frankly, I think the shortest route to the best answer is to ask the helpdesk at GD. ;0)