• 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.

Full Wildcard Domains in ServerAlias

D

davidcroda

Guest
I am using a Wordpress MU installation with the Wordpress MU Domain Mapping plugin. This allows you to map full domains, ie. www.myblogsite.com to a Wordpress MU blog.

The trouble is, it needs a full wildcard in the ServerAlias to do this. I have run into a few issues trying the usual work arounds.

Adding ServerAlias * to the vhost.conf works, but also breaks any virtual hosts loaded after this one. Since there is no way to control which virtual hosts are loaded first (except to force it to be last, addressed next), this is not a viable solution.

I know you can force configuration options to be loaded last by adding zzzz_ prefixed .conf files in the /etc/httpd/conf.d directory. Unfortunately, loading this directive last is also a problem, because the Default virtual host also contains a full wildcard ServerAlias. This means our wildcard is never hit.

So basically, what I need is either:

A) A way to ensure my Wildcard virtual host is loaded last out of all of my added hosts, but BEFORE the default virtual host.
B) A way to disable the default virtual host so I can load my wildcard last.

Any ideas or suggestions out there?
 
Problem solved?

Hello David,
have you managed to solve the problem? I am facing the same situation (check my post here). Like you, I have not got any answer yet. Thought, maybe you already managed to solve the issue in another way or got any new ideas.
Regards
Michael
 
Back
Top