Solved

changing dns nameservers

Posted on 2007-04-03
3
277 Views
Last Modified: 2010-04-07
Greetings DNS Experts

I have been working with a temporary domain (www.test.com) on a virtual private server (a LAMP system).  I have it running the way I want it.  Now I want to point over the domain of the live website (www.test2.com) so that the live website will now point to the virtual private server that I have been setting up.  The live website is php / mysql dynamically driven.  test2 is hosted at godaddy.  to do this redirection for test2, can i just change the ip that test2 points to and the nameservers to the same ip and nameservers of test?  i think that is all i have to do but i am not sure.
0
Comment
Question by:cannonarm
  • 2
3 Comments
 
LVL 70

Expert Comment

by:Chris Dent
Comment Utility

That seems to be two seperate items.

You can change the www record within the test2.com domain so it points to the IP Address of your new web server. Or you can change it to a CNAME Record and point to www.test.com.

If you want to change the Name Servers for your domain you will have to do that with the Registrar (I assume that's GoDaddy?). And you will have to have a Forward Lookup Zone configured for test2.com.

Chris
0
 

Author Comment

by:cannonarm
Comment Utility
Chris , so you are saying I do not need to change the domain nameservers for what i am trying to do ?  I just need to change the www record to the ip of the new server ?  Thats probably right I don't know I struggle with dns
0
 
LVL 70

Accepted Solution

by:
Chris Dent earned 125 total points
Comment Utility

If you just need to change where the web server is, then no, you don't need to change the Name Servers. Just alter the www record so it sends requests off to your new Web Server.

I've never used GoDaddy, the record would look something like this in a standard DNS server:

www  A  <WebServerIP>

You must allow time for the change to take place, this can be anything up to a few days. It's all because of a Time To Live (TTL) which DNS uses when caching responses (to reduce internet traffic). So don't be too disturbed if you still see www going to the old server for a little while.

Chris
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now