Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Kerio Webmail to domainname...how?
  •  
TylerDurden

Messages: 2
Karma: 0
Send a private message to this user
I'm running Server 2003, Kerio Mailserver 6.1.0 (patched) and almost everything is working good. All I want now is that the port (82) that I set for the webmail is converted to http://mail.mydomain.com so people do not have to put :82 behind the URL. My server haas 1 static IP, and there are some sites running on it. How do I make the webmail reachable with the simple mail.mydomain.com URL? Changes in apache (hhtp.conf) of somewhere else. I'm not entirely newbie, but I'm no specialist either... PLEASE HELP!
  •  
sedell

Messages: 1168
Karma: 1
Send a private message to this user
Do you have static NAT configured through a router or firewall? The only thing that comes to mind is to forward requests for mail.mydomain.com on port 80 to your standard web server. Set up a virtual domain for mail.mydomain.com there. Then redirect all requests it receives to mail.mydomain.com:82.

Scott
  •  
TylerDurden

Messages: 2
Karma: 0
Send a private message to this user
No, I get my IP from the university, so it comes directly in to my house through UTP connector. That will not be the solution. Any other suggestions?
  •  
winkelman

Messages: 2119
Karma: 3
Send a private message to this user
This problem is that if you do not specify the port number in your browser, the browser will always assume port 80.

So going to mail.mydomain.com is actually interpreted as going to http://mail.mydomain.com:80. Always. So the only thing you can do is at the server end and this can only be done if there's a router between the Internet and the mail.mydomain.com server. On this router you have to map incoming port 80 to port 82 on the (internal) KMS.

But you say you run other sites on the KMS machine. If one of these sites runs on port 80, it's not possible to reroute port 80 to 82, because than the site at port 80 is not reachable anymore.

So I guess what you want is simply not possible.
  •  
seali

Messages: 55
Karma: 0
Send a private message to this user
Put a html page on you webserver and add a header refresh command to the top. Something like:

<html>
<head>
	<title>My Webmail</title>
	<meta name="generator" content="BBEdit 6.1.1">
	<meta http-equiv="PRAGMA" content="NO-CACHE">
	<meta http-equiv="Refresh" content="1; URL=http://mail.mydomain.com:82">
</head>


When someone accesses the page it will redirect their browser to your webmail.
  •  
winkelman

Messages: 2119
Karma: 3
Send a private message to this user
If port 80 on the KMS is free to run the above mentioned redirection page, I guess the TS would have run webmail on port 80 itself... And if the TS runs Webmail on port 82 for reasons of 'hiding' the webmail for the general public, such a redirection page will defeat this 'hiding' purpose.

TS probably has something else is running at port 80, so I guess running a redirection script on port 80 is not possible.
  •  
jshaw541

Messages: 462
Karma: 0
Send a private message to this user
There's lots of answers here, but essentially you want to do exactly what seali says.

Our KMS box has IIS running on port 80. We have a virtual host configured for "mail.mycorp.com" with the HTML code he posted. It then redirects the user to "https://mail.mycorp.com" automatically.


Kerio MailServer 6.7.1 w/AD
Windows Server 2003 SP 1
Dell PowerEdge 2850 (Dual Xeon 3.2ghz and 2 GB RAM)
~1300 users
~1000+ concurrent IMAPS connections
iPhone users
Outlook 2007 KOFF users
Apple iCal 10.5/10.6 users
  •  
pwhodges

Messages: 144
Karma: 0
Send a private message to this user
winkelman wrote on Tue, 27 September 2005 18:00

If port 80 on the KMS is free to run the above mentioned redirection page, I guess the TS would have run webmail on port 80 itself... And if the TS runs Webmail on port 82 for reasons of 'hiding' the webmail for the general public, such a redirection page will defeat this 'hiding' purpose.

Missed point error :-) - it's nothing to do with hiding KMS. There is already another web server on 80, so KMS is on 82 and the server on 80 needs a virtual server for the mail URL that redirects to 82.

Paul
Previous Topic: KOC tabs do not show up
Next Topic: IMAP Idle timeout?
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: Fri Nov 24 01:16:34 CET 2017

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