?
Solved

changing dns nameservers

Posted on 2007-04-03
3
Medium Priority
?
288 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 71

Expert Comment

by:Chris Dent
ID: 18843794

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
ID: 18843873
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 71

Accepted Solution

by:
Chris Dent earned 500 total points
ID: 18843952

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

762 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