• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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