Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suppose I have a new nameserver that is set up to associate my domain name with the IP address of my new web server (but isn't a nameserver for my domain name yet). My domain name is still using with my old nameserver which provides the IP of my old web server.

How can I test that my new name server will redirect to the correct IP address before I switch my domain to using the new name server?

share|improve this question
up vote 1 down vote accepted

As I understand it, a "DNS Server" and a web hosting "Name Server" are fundamentally the same thing, you should just be able to manually set your computer's DNS to use the new nameserver ip (like as shown here for Win 7). Then, open cmd prompt, enter

ipconfig /dnsflush

to clear your dns cache and your new nameserver should be the computers sole DNS server. If the site wont load, ping should tell you what IP its directing to or if its not responding to that domain name request.

share|improve this answer
Just wanted to add some notes for Mac. Configuring DNS and Flushing the DNS – Casebash Dec 10 '14 at 5:44

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.