• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

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