• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Subdomain Wildcard oddness

jas8522

Basic Pleskian
I've got a weird situation, that I'm trying to explain.

the default domain has a simple html file that redirects to my domain (called mydomain for simplicity).

so going to http://myip takes you to http://mydomain for example.

Let's assume that all domains mentioned here have subdomains. Because of this I cannot add a serveralias *.anydomain.com to any of the domains or else the subdomains will not be available. That's fine.

If you go to anexistingsubdomain.mydomain.com it takes you to the subdomain as it should. If you go to nonexistingsubdomain.mydomain.com it comes up with an error that it can't find the page. Great that works for me. (btw, the error in firefox is the "domain" could not be found, please check the name and try again error. and in IE it takes me to MSN search saying "we can't find the page". That might help)

However if you go to anexistingsubdomain.anyotherdomain.com it takes you to the subdomain as it should (so far so good). BUT if you go to nonexistingsubdomain.anyotherdomain.com it takes you to the default page... why not an error?

Neither of these have a wildcard *.domain.com CNAME setup in their DNS settings, and neither are using serveralias for the vhost as then I couldn't get to the subdomains!

any idea why this is happening? Ideally I'd like to just have an error come up for all of them.. that's better than getting redirected to my default site!

Thanks to anyone who can help,

Jordan
 
Back
Top