New SQL server

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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gaurav SinghHead - Managed ServicesCommented:
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
Vitor MontalvãoMSSQL Senior EngineerCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.