Lets say I want to have two domains pointing to two different implementations of the same web app:
www.example.com ==> 184.108.40.206?system=one www.example2.com ==> 220.127.116.11?system=two
Is this possible? I'm using IIS over a Window 2012 machine.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
This can be handled using host headers in IIS.
In the Connections pane, click the Sites node and select the site for which you want to configure a host header (ex1). In the Actions pane, click Bindings. In the Site Bindings dialog box, select the binding (18.104.22.168) for which you want to add a host header and then click Edit or click Add to add a new binding with a host header. In the Host name box, type a host header for the site, such as www.example1.com. Click OK.
For example2 add an additional host header, create a new binding with the same IP address and port, and the new host header. Repeat for each host header that you want to use this IP address and port.