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

subdomain/domain-prefix bug?

Azurel

Silver Pleskian
Hi,

I have created 3 webspaces with one domain per websapce.
When I call in browser domainC.tld (webspaceC) its show domainC.tld.
But call with abc.domainC.tld its moving to abc.domainA.tld (webspaceA)? What happen here?
domainC.tld is fresh with no content and no changes.
 
Last edited:
I have create 3 webspaces. In each is only one domain without any subdomain in plesk. (but in vhost.conf of first domain I have "ServerAlias *.domainA.tld")

Enter a not exists subdomain forwarded from all webspaces(all domains) to first webspace (first created domain). Thats not okay to move to a domain of another customer.
 
As you modified vhost.conf, I could assume it is side effect of ServerAlias. Did you compare with native wildcard subdomains support in Plesk?
 
I have delete the vhost.conf and restart the server.. same problem. the problem have nothing to do with vhost.conf in webspaceA (other webspace have not a vhost.conf)

The only solution is to set in every domain of all websapce a vhost.conf with his own "ServerAlias *.domain.tld".
 
I cannot really see how "abc" subdomain matches one of your domains without wildcard configured in vhost.conf or Plesk.
 
On my old server without plesk (here I use webmin) I have this config for a domain
ServerName domain.tld
ServerAlias www.domain.tld

When I call xyz.domain.tld I get this page:
Forbidden
You don't have permission to access / on this server.

Now I create a new webspace+domain with plesk. Call here again xyz.domain.tld... now the domain redirect to first domain ever created in plesk, which is not from this customer. that happen with all new created domains/webspace. You understand me now?
 
I'm the only one with this issue? Can anyone try it?

Azurel, we checked this case on Plesk 11.0.9 and Plesk 11.5.27 - it wasn't reproduced.
Could you provide more detailed steps or reproduce it on our demo server? I may provide access to you.
 
Azurel,
looks like your IP address has been set up with default website value equal to "domain1.tld".
//The first created domain marked as defaulf for dedicated IP address, if your IP has type "shared" then it wont't be.

Also, DNS includes wildcard record for the second domain.
Try this:

$ dig A abra.cadabra.bom.domain2.tld +short

the responce will show you IP address same for

$ dig A xxx.domain2.tld +short
$ dig A domain2.tld +short

What is happening:
Your browser asks Plesk Panel by IP(returned by DNS) for not existing in Panel website (xxx.domain2.tld),
but as it has been set in Panel (default website for IP), you are redirected to the default website i.e. domain1.tld

Solutions to resolve:
1. set the default site value to "none" for IP address here:
Tools&settings -> IP Addresses -> <IP> -> default site
In this case for request to not existing in Panel sites you will be redirected to Web Server's Default Page.

or
2. Use Panel DNS service instead of external or remove wildcard record for domain2.tld from your external DNS

It is also possible to add wildcard subdomain in Panel for domain2.tld, then any request like xxx.xxx.xxx.domain2.tld will be handled correctly.
 
Last edited:
Back
Top