GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » OLD forums » Kerio Connect Multi-Server » Setting up webmail on port 80 while running IIS on Port 80
Setting up webmail on port 80 while running IIS on Port 80 [message #124521] Mon, 28 September 2015 14:40 Go to next message
GenXX is currently offline  GenXX
Messages: 10
Registered: September 2015
Hello All,

I am trying to setup Kerio's webmail also running IIS on port 80.

I understand that I can change the webmail's port to a non standard one but this is not convenient for me for two reasons.

1) I don't want my users to be typing webmail.mydomain.com:8080
2) some operators are blocking non well defined ports.

Is there a way to request webmail on port 80, but the user to get redirect onto another port on my server?
I looked at ISS binding but I don't think this is what I need.

Can someone point me to the right path?
Thanks
Re: Setting up webmail on port 80 while running IIS on Port 80 [message #124571 is a reply to message #124521] Tue, 29 September 2015 13:07 Go to previous messageGo to next message
Pavel Dobry (Kerio) is currently offline  Pavel Dobry (Kerio)
Messages: 2057
Registered: October 2003
Location: Czech Republic
The only solution is to use IIS as a reverse proxy server (with URL rewrite module). But not all HTTP(S) services run properly behind this proxy service.

Re: Setting up webmail on port 80 while running IIS on Port 80 [message #124626 is a reply to message #124571] Wed, 30 September 2015 13:57 Go to previous messageGo to next message
GenXX is currently offline  GenXX
Messages: 10
Registered: September 2015
Can you please elaborate on what you mean by "not all HTTP(S) services run properly behind this proxy service" ? Will Kerio HTTP(S) work with reverse proxy ?
Re: Setting up webmail on port 80 while running IIS on Port 80 [message #124627 is a reply to message #124626] Wed, 30 September 2015 13:59 Go to previous messageGo to next message
GenXX is currently offline  GenXX
Messages: 10
Registered: September 2015
Something like this will suffice?

iis.net/learn/extensions/url-rewrite-module/reverse-proxy-wi th-url-rewrite-v2-and-application-request-routing
Re: Setting up webmail on port 80 while running IIS on Port 80 [message #126772 is a reply to message #124627] Wed, 30 December 2015 23:07 Go to previous messageGo to next message
UnifiedTechs-Brian is currently offline  UnifiedTechs-Brian
Messages: 159
Registered: March 2011
Location: Vero Beach, FL
Can you move the IIS servers port to something else? You didn't mention if you were actually using IIS.

- Brian
Kerio Preferred Partner, Reseller & Hosting Provider
Unified Technology Solutions
Re: Setting up webmail on port 80 while running IIS on Port 80 [message #127219 is a reply to message #126772] Mon, 18 January 2016 11:28 Go to previous messageGo to next message
GenXX is currently offline  GenXX
Messages: 10
Registered: September 2015
UnifiedTechs-Brian wrote on Wed, 30 December 2015 23:07
Can you move the IIS servers port to something else? You didn't mention if you were actually using IIS.


Hi Brian,
Sorry for the late reply but I have been AFK for some time(eye surgery etc).

I am using IIS. But I have many services running on the server.
Owncloud, Kerio, Kerio Web client, my webpage, FTPs, SSHs e.t.c.
All standard ports are OK, but I do not want to move my website to another port.

Re: Setting up webmail on port 80 while running IIS on Port 80 [message #127225 is a reply to message #124521] Mon, 18 January 2016 13:26 Go to previous messageGo to next message
UnifiedTechs-Brian is currently offline  UnifiedTechs-Brian
Messages: 159
Registered: March 2011
Location: Vero Beach, FL
If you need IIS and Webmail to share port 80 it sounds like your only solution is going to be a reverse proxy as Pavel mentioned. If you have any further questions you will probably need to find an IIS forum to post them.

Personally I would look into a second server or using a VM before trying what your asking to do,


- Brian
Kerio Preferred Partner, Reseller & Hosting Provider
Unified Technology Solutions
Re: Setting up webmail on port 80 while running IIS on Port 80 [message #127226 is a reply to message #127225] Mon, 18 January 2016 13:31 Go to previous messageGo to next message
UnifiedTechs-Brian is currently offline  UnifiedTechs-Brian
Messages: 159
Registered: March 2011
Location: Vero Beach, FL
Also I think you posted to the wrong area, Multi Server version of Kerio Connect is a special version of connect for extremely large servers and only runs on Linux. You must be using the regular version of Kerio Connect since you mention IIS on the same server. That may explain why you got so few responses to your question.

- Brian
Kerio Preferred Partner, Reseller & Hosting Provider
Unified Technology Solutions
Re: Setting up webmail on port 80 while running IIS on Port 80 [message #127229 is a reply to message #127226] Mon, 18 January 2016 15:54 Go to previous messageGo to next message
GenXX is currently offline  GenXX
Messages: 10
Registered: September 2015
Thank you all for the replies.
The reverse proxy would redirect the user's request to a different port with url rewrite, whereas I was looking for some sort of "internal" translation to a different local port so that the user is only accessing the websites (webmail,main website) through port 80 but with a different web address.
The "virtual machines" and URL rewrite approach is, from what I gather at least, the most plausible solution. I will see if I have enough resources on my server to make this happen and perform some more investigation .

@UnifiedTechs-Brian thank you for letting me know, I will request for the topic to be moved.
Re: Setting up webmail on port 80 while running IIS on Port 80 [message #127233 is a reply to message #127229] Mon, 18 January 2016 19:16 Go to previous messageGo to next message
Bud Durland is currently offline  Bud Durland
Messages: 588
Registered: December 2013
Location: Plattsburgh, NY
One option might be to assign a second IP address to the server, then configure IIS to listen to one, and Kerio Connect listen on the other. Update DNS to resolve 'web' and 'webmail' to the appropriate IP.
Re: Setting up webmail on port 80 while running IIS on Port 80 [message #127235 is a reply to message #124521] Mon, 18 January 2016 20:25 Go to previous messageGo to next message
GenXX is currently offline  GenXX
Messages: 10
Registered: September 2015
Indeed that would be a good option. As of now though, we are a startup, relying on a low capacity (just like our users) home line which gets DDNS. If we decide to go for a managed solution this is the first thing I will do Smile thanks for the reply
Re: Setting up webmail on port 80 while running IIS on Port 80 [message #127236 is a reply to message #127235] Mon, 18 January 2016 20:35 Go to previous message
UnifiedTechs-Brian is currently offline  UnifiedTechs-Brian
Messages: 159
Registered: March 2011
Location: Vero Beach, FL
Email server on a DDNS setup is going to give you highly unreliable delivery. You will never be able to set up reverse DNS or a a proper SPF record, and to top it off many IPs in Dynamic space are listed on Blacklists.

I would recommend you look at a hosted email solution until you have the resources to set up a proper email server.


- Brian
Kerio Preferred Partner, Reseller & Hosting Provider
Unified Technology Solutions
Previous Topic: Import users
Next Topic: Puppet Upgrade 9.0 to 9.0.1
Goto Forum:
  


Current Time: Fri Sep 22 17:52:35 CEST 2023

Total time taken to generate the page: 0.02085 seconds