Hosting multiple websites on a single IP address

Hi, for the past 2 years we've been hosting our Exchange 2010 OWA on our public IP address. This has been working well in that we can type in and the users will be re-directed to the OWA logon page.

Last week, we went to implement 2x sub-domains which are required for some additional software that we have installed to improve the functionality of our database.

e.g. and

How would I go about routing traffic to the right destination? Below is a summary of the configuration so far:

Server 1 - Windows 2008 R2 - hosting (Exchange 2010 Server)
Server 2 - Windows 2012 R2 - hosting & (SQL 2014 Server)

Both servers need to use the same external IP address but I'm unsure on how to direct traffic to the correct sub-domain (whether it be webmail, subdomain1 or subdomain2).

Please could someone advise the best course of action in order to achieve this? My next step was to maybe purchase additional external IP addresses and host each sub domain on its own IP address but if I am able to host all 3 websites under 1 domain on the 2x IIS servers that would be great.

Would I need to put a re-direct / configure IIS on 'server 1' to route to 'server 2' or would it be done via another method.

Thanks in advance!
Rob SamuelIT ManagerAsked:
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.

John EastonDirectorCommented:
You currently have two servers and I assume one of them is assigned your public IP Address.  If so, does this server have any firewall software installed.

We have a similar setup, and our firewall was able to identify traffic based on the requested URL (i.e. webmail, subdomain1, etc) and route this to the correct server.

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
Rob SamuelIT ManagerAuthor Commented:
Our Exchange server is assigned to our public IP address - we have a Sophos software firewall installed but the main firewall is a Cisco Meraki MX80.

I'll raise the question with Meraki but if anyone has any way of configuring this through IIS that would be great.

Many thanks!
Publishing multiple HTTP sites on IIS is really a matter of host header values (or bindings):

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 IIS Web Server

From novice to tech pro — start learning today.