• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Question Redirects/Rewrites

Lanky Doodle

New Pleskian
Hey,

Our company website is hosted for us, but we have other on-premise services like Exchange ActiveSync for corporate email on phones etc.

In trying to get Exchange autodiscover working properly I've setup redirects so domain.com/autodiscover/autodiscover.xml goes to https://autodiscover.domain.com/autodiscover/autodiscover.xml.

Although this does work, annoyingly Gmail prompts a warning about the redirect. As domain.com for us points to www.domain.com, we actually get 2 warnings:

domain.com to www.domain.com
www.domain.com to autodiscover.domain.com

How do I setup the redirect/rewrite so it is masked? This is what I've done:

#301 Redirect 14-11-2017
RewriteRule ^autodiscover/autodiscover.xml$ https://autodiscover.domain.com/autodiscover/autodiscover.xml [R=301,L,NC]

Thanks.
 
Back
Top