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

Stop Plesk from serving default pages on non-existing subdomains

F

formfab

Guest
Dear all,

I'm facing the following issue: in Plesk visitors to any non-existing subdomain will be served a default page. Now I'd like to change that to "nothing".
I've spent hours googling keywords like plesk/subdomain/catch all/wildcard/ etc etc but to no avail.
Can anybody point me to where to stop Plesk serving default pages to non-existing subdomains?

Greatly appreciated!
 
Thanks for the quick reply. It's a matter of preference, I'd like to have my server not respond to things that don't exists on DNS level. If there's a webpage missing on an existing site then I'll serve an errorpage. But to me a subdomain is something else.
Is there some sort of redirect I can comment-out in a configurationfile maybe?
 
When a client requests a certain domain, Apache, parses the requested domain name. Then Apache searches for the virtual host with the requested domain on the IP address specified in the request. If the host exists, Apache sends requested files from this host to the client. If the requested virtual host is not found, Panel uses the following entities to resolve the request:

1. Default domain. It can be created for a specific IP address. If a request to this IP address contains a name of a non-existent domain, Panel redirects this request to the default domain
2. Default virtual host. It accepts all requests to the server IP addresses that could not be directed to any default domain - /var/www/vhosts/default/
 
Alright. But where to stop the resolving of those two requests?
 
After looking through endless configuration files I'm beginning to suspect the problem might be my server provider.
I found out the NS records to my domains are theirs and so ignore my DNS settings in Plesk and send over the requests for just about everything.
Seems a workaround is to use a secondary DNS server. For more info read this.

Thanks for the help
 
Last edited by a moderator:
Back
Top