• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Default vhost from bad subhost URL

johnrt

Basic Pleskian
I have several vhosts defined and they all work fine. For example:
www.host1.com
www.host2.com
www.host3.com

Many of them have sub-domains defined. For example:
web.host1.com
web.host2.com
web.host3.com

If a user mis-types something like "webb.host1.com", I don't get a host not found page, but it will display www.host3.com instead.

From what I can see in /usr/local/psa/admin/conf, the file ip_vhosts_bootstrap.conf is defining the default pages to load just based on the IP because the "Include" in this file references the same config file for the site that gets loaded when one cannot be found.

Where does this file get generated because the file says not to edit it. So where in the Plesk GUI does this get set?

Thanks
 
I've tried commenting the line in the file, and it still redirects to another domain if the subdomain (from another domain) does not exist.

Any thoughts?
 
Back
Top