ISPConfig redirect unconfigured subdomains

Discussion in 'General' started by vmbelizario, Oct 20, 2015.

  1. vmbelizario

    vmbelizario New Member HowtoForge Supporter

    I have some domains that need to use https;
    So i configured a new IP to https and works great:
    https://www.howtoforge.com/community/threads/https-ispconfig-3.71234/#post-335129
    But, one of my domains use * in DNS to my server. But if i test a unconfigured subdomain, like anything.example.com, no give me a error (not found) page, but the page i see its another domain anyexample2.com.
    The vhost of example.com is :
    server_name example.com www.example.com;

    The vhost of anyexample2.com is :
    server_name anyexample2.com www.anyexample2.com;

    I tested configure in example.com vhost put *.example.com, but not works.
    Someone how to configure this in ISPConfig ?
    if is a unconfigured subdomain, just show page not found, or something like that.

    Thanks !
     

Share This Page