Sonicwall redirect to different IP

I have leased line, with SonicWALL
Websites hosted in IIS

Server 1 IP is say
Server 2 IP is say

when client visits
IIS returns website on server 1

when client visits
IIS returns website on server 2

I want to ditch server 2, but let client keep their link

can I do this in SonicWALL or other ?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Trent SmithCommented:
Why don't you just change the IP address of the Server 2 to Server 1 in DNS and then verify that it is sending the traffic to the proper server.  This should have nothing to do with the firewall.
rwallacejAuthor Commented:
I want to only have this happen with WEBSITES

so if do to on remote desktop,
or connect to it with SQL server database,
it still points to

so I don't think DNS would fix this
Trent SmithCommented:
You would have to update the link to point to the correct IP address then.
David Johnson, CD, MVPOwnerCommented:
if you want to ditch server2 you have to move the website to a directory on server1 AND detach the database from server 2 then reattach the sql server data files to server1 and modify the web.config to reflect the new connection string. also add a binding to
create a new website (right click on sites and select new website. add the location of the files you copied from server 2 and edit the bindings.  You also have to edit dns settings OR in your edge router use NAT to redirect tcp port 80 / 443 to server1

is server2 named company2 ??
Blue Street TechLast KnightCommented:
Hi rwallacej,

You can do that with host headers in IIS:
• how to configure IIS6:, and
• IIS7:

On the SonicWALL it would essentially be one Access Rules and corresponding NAP policies since you are using both site to resolve on one server provided that they are using the same Service/port(s).

Let me know how it goes!

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
Hardware Firewalls

From novice to tech pro — start learning today.