• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue In version 18.0.57 #1, wildcard domains do not work correctly

HoracioS

Regular Pleskian
Server operating system version
Ubuntu 22.04.3 LTS aarch64
Plesk version and microupdate number
18.0.57 #1
Since v18.0.57 #1 wildcard domains do not work anymore.
The wildcard SSL certificate is correct and up to date.
Now wildcard domains are redirected to the server's IP and it directs to the default Plesk site, of course with an SSL certificate error as it does not correspond to that domain.

It worked for years, but now it has stopped working.

Best regards,
Horacio
 
Have you checked the content of /var/www/vhosts/system/<wildcard domain>/conf/* files for the wildcard domain in question? What document root or redirect is set in the conf files?
 
Yes, there are dozens of domains in that condition that magically stopped working after the update. The redirects are done through the .htaccess file

RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} =https
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ https://siteabcdfe.com [L,QSA]
 
When you remove the .htaccess file from one of the wildcard domain document roots and instead put an index.html file into it, is that file shown when you request an undefined subdomain so that the wildcard steps in?
 
Back
Top