• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Need help with re-directs

mdafforn

New Pleskian
I've got a domain (let's say domain.com) that hosts a drupal muti-site installation.

Currently we have domain1.com (the real site) on there with domain2.com, sub.domain2.com, and www.sub.domain2.com as serveraliases defined in vhost.conf (none of the serveraliases are listed as domains in plesk)

Is there a way to re-direct (hopefully perm) all the aliases to domain2.com?

I was thinking 301 re-directs, but it requires an .htaccess, and since these are all serveraliases, they have no directory to put an .htaccess file in.

Also, I need to make sure it's a plesk friendly solution, as most of the apache conf files are re-written everytime you make a change in plesk, and wipe out manual edits.

Thanks for any suggestions!
 
Back
Top