• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Inexistent subdomain fallback

J

JulienI

Guest
Im running a VPS @ Media Temple but something is bothering me with my setup.

Inexistant subdomains on all my domains revert back to the main domain, ex :

(1) doesnotexist.example.com -> www.maindomain.com

I would expect it to be something like :

(2) doesnotexist.example.com -> www.example.com

(3) or even better throw a not found or something equivalent.


I've tried solutions involving modifying vhost.conf, but I find it cumbersome because it has to be done on every single subdomain. Surely theres a streamlined way to do this?

Also, what is the recommended behavior between (2) & (3)?

Thanks!
 
Hi, thanks for your answer, you can see its been a while since this thread was started, however its not really the solution I was hoping for.

Its cumbersome to add that kind of wild card on all my domains, plus id rather have 404s since it messes up with GoogleMaps API. That means a lot of fiddling with apache config or htaccess's.

This "Main domain" catch-all-even-on-other-domains wildcard must be set somewhere in the settings or there must be a global way to avoid this no? Im really stumped on this issue :(
 
Back
Top