Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect Multi-Server » Setting up webmail on port 80 while running IIS on Port 80
  •  
GenXX

Messages: 10
Karma: 0
Send a private message to this user
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
  •  
Pavel Dobry (Kerio)

Messages: 5177
Karma: 245
Send a private message to this user
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.

Knowledge Base: http://kb.kerio.com/.
Technical support: http://www.kerio.com/support
------------------
Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
  •  
GenXX

Messages: 10
Karma: 0
Send a private message to this user
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 ?
  •  
GenXX

Messages: 10
Karma: 0
Send a private message to this user
Something like this will suffice?

iis.net/learn/extensions/url-rewrite-module/reverse-proxy-wi th-url-rewrite-v2-and-application-request-routing
  •  
UnifiedTechs-Brian

Messages: 164
Karma: 15
Send a private message to this user
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
  •  
GenXX

Messages: 10
Karma: 0
Send a private message to this user
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.

  •  
UnifiedTechs-Brian

Messages: 164
Karma: 15
Send a private message to this user
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
  •  
UnifiedTechs-Brian

Messages: 164
Karma: 15
Send a private message to this user
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
  •  
GenXX

Messages: 10
Karma: 0
Send a private message to this user
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.
  •  
Bud Durland

Messages: 370
Karma: 38
Send a private message to this user
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.
  •  
GenXX

Messages: 10
Karma: 0
Send a private message to this user
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
  •  
UnifiedTechs-Brian

Messages: 164
Karma: 15
Send a private message to this user
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:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Mar 23 05:19:14 CET 2017

Total time taken to generate the page: 0.01105 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.