• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Mapping Subdomains to Specific Directory

N

NorbertH

Guest
I am using Plesk Panel 9.5.1 for Linux at my VPS hosting provider. The domain and subdomain support in Plesk works for most of my applications. However, I am having trouble getting Plesk to support Drupal6 multi-site support where multiple subdomains are directed to a common Drupal installation which uses the subdomain to select the correct Drupal instance.

I can install Drupal to a subdirectory of .../vhosts/<domain>/httpdocs. If I define subdomains in Plesk, each is mapped to .../vhosts/<domain>/subdomains/<subdomain>/httpdocs. Is there a way to map the subdomains to a common subdirectory?

At the moment, I am not using the DNS capabilities of Plesk. My hosting provider is handling DNS resolution. It turns out that my provider maps all subdomains to the IP associated with the domain.
Thanks, Norbert
 
FractalizeR’s vhost.conf tip

Igor, thanks for the pointer! I will test it out over the weekend.

I tried a different approach yesterday that also seems to work. I created a subdomain solely for Drupal and used Plesk to install Drupal into the subdomain document root. I then created a vhost.conf file for the subdomain containing a list of subdomains which that Drupal application would handle. This worked 'out of the box' without any need to modify .htaccess Rewrite rules. Time will tell of there are any side-effects.
 
Back
Top