Solved

changing dns nameservers

Posted on 2007-04-03
3
284 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 125 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

733 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