Link to home
Start Free TrialLog in
Avatar of daveviolante
daveviolanteFlag for Netherlands

asked on

Hosting 2 or more Web Site using the same port 80

Hi all,

I am using OWA on port 80 (Cannot Change that) and I will soon finish building a website and I want to use still port 80.

All I want is that from the internet through my ISP IP, both Web Site OWA and the WEBSite to be accessible.

I know that is possible to make such a configuration but how?

The OWA is a VM Exchnage internal IP 192.168.2.25
The WebSite is Wampserver 2 installed on Windows server 2003 internal IP 192.168.2.27

Both should use port 80

How can I tell that if somebody is typing http://www.technopc.eu to go to the WebSite and somebody else accessing http://technopc.eu/exchange (OWA they will be redirected to the correct address without conflict?
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Hosting two web sites is easy; hosting two web SERVERS is NOT.  If you were using IIS ONLY, then you would just create a new site and setup a host header.  But you need two SERVICES listening on port 80 and you can't have that.

With your config, to be accessible from the internet, you need TWO public IPs and then to redirect one to the OWA instance and the other to the WAMP instance.
Avatar of daveviolante

ASKER

So I have another option

I know thta is not the original question but at this point i could publish the WebSite using port 443 SSL

I got no idea how to do so either can you help?

I guess that the procedure it is not too complicated but than I would need to pay a CA company which i do not really wan to do so is there any possibility to get free certificate and could you redirect me to an easy step by step of such configurtion using port 443 with SSL and Wampserver 2

Regards

Davide
Avatar of dtrance
dtrance

You can do SSL to circumvent your original issue.  The free option is using a self signed certificate but then the client will get the nuisance of having to accept it every time the site is visited since it wasn't signed by an approved third party.

The best solution is to create another site using the header information.

Is OWA accessible outside of your network?  If not you can designate the internal IP for one site and the external for the other.
Yes that is the point OWA is accssed externally

Ok what is the best chepest option for a valid paid CA root certificate.

If you could advise which CA company and the how to configure the SSL Certificate using Wampserver 2 that would be much appreciated.
ASKER CERTIFIED SOLUTION
Avatar of ravenpl
ravenpl
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can also change the port that OWA is using: https://www.experts-exchange.com/questions/23094023/How-to-change-Outlook-Web-Access-port-numbers.html

Back to the question posted above, you should be using SSL with your OWA.  A trusted cert from GoDaddy is your best bet.  Go with a 3 year cert, when checking out use promo code PROMOSSL which will reduce the cost from around $140 down to $38.
Hi,

>> How can I tell that if somebody is typing http://www.technopc.eu  to go to the WebSite and somebody else accessing http://technopc.eu/exchange  (OWA
>> they will be redirected to the correct address without conflict?

you just need to enable host headers under each web site in IIS.

Just make a new web site for your web content (right click web sites node in IIS admin, and make sure that you define the host header value.

Right click the OWA site in iis manager, choose properties.  Click ip addresses, click advanced, double click the entry in the top field, add the host header value/

Cheers!
If you change the owa port number then they would be typing the address as http://www.technopc.eu/exchange:81 and your firewall will do the redirection.  Host headers will only work for you if you assign different host names to the applications.
correct - and the question author /is/ defining different hostnames! ;-)

Cheers!