1
Re: force webmail url
Question asked by Hemen Shah - 6/9/2025 at 2:34 PM
Unanswered
Hi,
till now using 15.x, recently migrated to current build
To force customer webmail url to primary domain webmail url with SSL, we were adding rewrite rule in web.config located in MRS folder.
Now post upgrade to current build, process remains same or any option within SM.
tried adding rewrite code in web.config but somehow redirection is not happening.

Thanks

3 Replies

Reply to Thread
0
Douglas Foster Replied
I am pretty sure that Chrome defaults to port 443.  Expect other browsers do the same.  Set IIS to require SSL.

There are various ways to handle the redirect outside of SM.   It will help if you have control over the client DNS 
0
Hemen Shah Replied
Primary URL is already set with SSL and working fine, i need to redirect customer webmail urls to my primary urls by default 
e.g: mail.abc.com or mail.xyz.com to be redirected to https://mail.domain.com 
earlier upto 15.x, we use to add rewrite code to SM web.config file and tried same method now but it isn't redirecting.
Is there option to use default webmail url for all domains within SM admin or otherway.
Basically want clients to use primary webmail url only.

Thanks
0
Douglas Foster Replied
This should be doable easily in IIS.  Just create a second site for port 80 and name  *.  Put the redirect commands there.  I think it will fix auto discover as well

Make sure that your main site is configured for an exact name, not wildcard.  This should prevent browsers from preferring 443 and going to the wrong site.

Reply to Thread

Enter the verification text