Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Removing * from default website binding breaks PS, but i need to two websites on port 80 which have different IP's

$
0
0

 

Hi,

I hope i am going to explain this correctly...bit of a strange one could be Exchange or IIS (the exchange side is set up correctly but the results are inconsistent

We have Exchange 2010 installed and have the need to create a secondary SMTP domain (which isn’t a prob)  I have created a new website in IIS called Domain2.com,  I have configured this with all the relevant exchange configuration and I have assigned the domain1.com its own IP address 192.168.0.2 and assigned the bindings port 80 and port 44 to that IP 192.168.0.2, I have also assigned the hostname "domain2.com" to the port 80 binding

The default web site still has the "*" binding on port 80, I have created other binding for the default website (domain1.com) (which IP is 192.168.0.1 on port 80 and port 443, I have edited the bindings for domain1 and added the name "domain1.com" to the hostname. 

both websites are up and running fine, however when i do an autodisover with in outlook it returns urls OOF / OAB /ECP of domain1 and domain2 and these change each time you press the "test" button, sometimes they are mixed.  I need to make sure that if a person on SMTP domain1 gets the relevant URL for domain1 and a person on SMTP Domain2 get their URL.

The only way  i have found to make this work constantly is to remove the "*" binding from the "Default Web SIte" and assign it the specific ip address of 198.168.0.1.  But when I do that that breaks the PowerShell interface for Exchange (and prob PowerShell in general) 

It is a requirement to ensure that People on SMTP domains 2 do not see any reference to URLS's etc for Domain1


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>