New SQL server

IKtech
IKtech used Ask the Experts™
on
We have an application that runs on IIS 7.5 and windows server 2008 R2.  The backend is a sql server 2008R2 on a separate windows server 2008.

I want to retire the old sql server and I have built a new sql server.  We would like to reuse the name and IP address of the old server for the new sql server and I am sure I can do that however.  I wanted to do some testing and I was curious if I could simply change the host file on the application server as follows

old sql server name = new sql server ip address

I thought that might allow use to test our application with the new sql server and also give me an easy reversible change.

Any thoughts?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Gaurav SinghSolutions Architect

Commented:
Yes for testing purpose you can edit the web.config file to point to new sql server. once all works fine. you can swap the IP address but same is a problem. you can create cname in DNS to keep alive old name
IT Engineer
Distinguished Expert 2017
Commented:
You can do it but only one server can be connected to the network so there won't be IP and Name conflicts. So, install new server with the desired name and IP then when you need to connect it to the network remove the old one.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial