[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

changing dns nameservers

Posted on 2007-04-03
3
Medium Priority
?
292 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 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

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

Question has a verified solution.

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

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

830 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