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

Wildcards subdomains does not work in Plesk 11.5

JuanCar

Regular Pleskian
Hello
When Plesk 11.0.9 I had a domain with wildcards subdomains and all worked fine.
And the update to 11.5 came ...

Now I see that my blogs doesnot work (I need widcards because of them) : config file was changed by a misterious hand, and more: the wildcards does not work!!!. Well, I searched in forums and Google and I found two solutions

1. Add "ServerAlias *.domain.com" in vhost.conf of the main domain. Bad: some domains works and some one dissapeared, they drive to the main page of the domain, It did look like this domain didn't exist!!!!. So I delete the line (ServerAlias) in vhost of the main domain.

2. Second solution. http://kb.parallels.com/2239,
I try this solution and ... every subdomain of my domain drives to the main page of the domain!!!!. Well, I delete the new domain ... and Apache can't start.

httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 5 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 70 of /etc/httpd/conf/plesk.conf.d/server.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/ip_default/mydomain.com.

So I rebuild the symlink with an older conf file and restarted Apache. I tried this solution twice. But the result was the same (of course): subdomains dissapeared and error after delete *.mydomain.com

But, now it is working, how? why? I don't know but it is working. I looked for a config file whith a ServerAlias for *.mydomain.com, but I didn't find it. I would like to have an explanation, I need to know why it works


In other domain with just 2 subdomains this solution works fine.

The ssytem is Centos 5.0 under Plesk 11.5.30 and nginx ON

Regards.
 
Last edited:

Of Course, but if the solutions in Plesk manual do not work I look for a solution in every place over internet. And when I find a solution I try to verify if this solution is good for my system. In this case both of this solution seemed good solutions.This situation is not Plesk specific, indeed.

So the problem is not where the solution is, the problem now is that the solution doesn't work, at least for me. The manual tells how to create a wildcar subdomains, but it does not tell anything about wildcards and ngynx, for instance.
And, when I delete the * subdomain in Control Panel, Why Apache does not restart? This is not in the Plesk Guide.

At this moment my server supports wildcars subdomains and I didn't create a subdomain * in the panel. I only have an A zone in my DNS register, from a iong time ago.
And it always worked fine until upgrade to 11.5.30. After this update my system didnt accept wild cards (unexistent subdomains gone to default server page) and when I aplied the solution wroten in Plesk Guide all subdomains (included existent subdomians) gone to main page of the domain.


So I dont understand anything. My httpd.conf and includes files does not have a ServerAlias for asterisk subdomains (or I can find it). I would like to know the reason because I'm sure that in the next upgrade I have the same problem and I want to fix it in no too large time.

And now I'll follow the gold rule in computer's science: If it Works don't touch. And now it works so.... ;)

Thanks
JuanCarlos
 
Back
Top