VS config with multiple IIS sites
Hi,
I have 2 sites on an IIS server.
1 - Listening on port 443 abc.xyz.com Server1 - working
1 - Listening on port 80 abc12.xyz.com Server1 -new
I have a VS statement that listens on 80 and redirects to 443. The 443 VS has a default pool/with Auth with Server1 in it. Everything works fine with abc.xyz.com. Now I am trying to have abc12.xyz.com go to the same server but use port 80 instead. The IIS site is configured with host name abc12.xyz.com:80.
If a user tries to access abc.xyz.com on port 80 – redirect to 443 then go to Server1 port 443. -Working
If a user tries to access abc12.xyz.com on port 80 – redirect to 443 then go to Server1 port 80. – How do I get this to work?
Can I do this with an irule or should I just add another IP to the IIS site and create a separate VS and pool with that IP. What is the best way to handle this?
Thanks