Disabled Websites - Redirected

Discussion in 'General' started by reason8, Sep 5, 2012.

  1. reason8

    reason8 Member

    Hello and good afternoon.

    I recently disabled some websites but noticed the sites are being redirected to other websites that I am hosting.

    Not quite sure why this is happening.

    Background: I am running openSUSE 11.0, using dynamic DNS, dns is configured with the Dynamic DNS Hosting service, some ISPConfig sites are configured with DNS Zones (via ISPConfig) while others are not (does this matter)?

    Any help would be much appreciated.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Apache shows the first vhost in alphabetical order for a IP address if there is no vhsot for a given domain. So what you describe is the normal behaviour of the apache webserver when it does not find a site because you disabled it.

    To redirect the requests to a specific site, you have to create a default vhost that catches these requests.

    Create a new website with this domain name:


    and select the IP address that it shall work for (the Ip that the other sites use). Now all requests of disabled sites will go to this vhost instead of a vhost of a different customer.
  3. reason8

    reason8 Member


    Thanks a bunch!! :)

Share This Page