Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I just got a VPS. All the host gave me was an IP address to have the domain point to.

Lets say my domain is

So what I did was I removed the nameserver (not the NS records, but the actual nameserver) values. Then I added 3 A records to point to the VPS IP for the following:

The host kept telling me I had to set up and So I did.

Then I created 2 NS records for with the values of and

Now after I did all that, I tried setting the nameservers to and but it wouldn't let me do it.

Is what I've done enough to get my domain to point to the VPS properly? Should I just wait for propogation now?

This is the first time I've tried this so I'm a little lost.

share|improve this question
Go to the blackboard and write 100 times "DNS does not propogate". – John Gardeniers Jan 19 '13 at 6:00
"it wouldn't let me do it" is not a very good problem description, especially where we can't tell what the first "it" refers to. – David Schwartz Jan 19 '13 at 8:09

2 Answers 2

up vote 4 down vote accepted

Go to your domain DNS control panel (provided by your registrar) and use it to reset your DNS to it's default configuration.

Once you've done that create an A record (or modify the existing one) for and enter the IP address for your VPS in the appropriate field.

Don't play with the NS records.

share|improve this answer
ive done that, but what do i set the nameservers to? when i try to set and the registrar simple will not accept those as nameservers. – scarhand Jan 19 '13 at 15:07
Why do you feel the need to change the NS entries ? – Iain Jan 19 '13 at 15:10
ok im stupid as all hell. my registrar had nameservers i had to set the domain to in order for it to manage the DNS. i just found them now and set the domain to those nameservers, and i kept the A record to point to the VPS IP. i think its going to work now. – scarhand Jan 19 '13 at 15:11

All you have to do is create an A record at your domain hoster's DNS for to point your server's IP address. Do not replace the name servers, or they will point to nowhere.

This is for the most simple scenario that

  • you do not host your own DNS, but use your domain hoster's DNS (e.g. Godaddy)
  • you don't need reverse lookup, MX, or other records

In many other scenarios, like for the primary domain on a shared hosting account, or subdomains that you added there, the web hoster creates the DNS records on their DNS server. That's when you replace the name server addresses at your domain hoster with the DNS servers of your web hoster. But a VPS account does not automatically come with DNS

If you ran your own DNS on your VPS server, you would replace the name server addresses for the domain with your server IPs. But you did not mention any of this, so I assume you pointed the name servers to your VPS, but there is no DNS running on the box. Thus, nothing resolves.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.