Link to home
Start Free TrialLog in
Avatar of cannonarm
cannonarm

asked on

changing dns nameservers

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.
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image


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
Avatar of cannonarm
cannonarm

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial