Setting a Default Website when no Virtual Host for Domain

Discussion in 'Installation/Configuration' started by roadster, Apr 28, 2011.

  1. roadster

    roadster New Member

    I need to reset the default site that is displayed when there is no site configured for a domain (i.e. no entry in the virtual hosts file) but the DNS settings (set on external nameserver) point to any of the ip addresses used on my server. Basically it's when a site is disabled for some reason and I'd like a suitable generic 'holding' page to display.

    I don't see anything obvious in httpd.conf.

    Thanks in anticipation.

    Note to Mod: Sorry, this was first inadvertently posted in the Linux Forum - you may wish to remove from there - my apologies
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ISPConfig version do you use?
  3. roadster

    roadster New Member

    ISPConfig 2, Till
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig 2 has a default vhost, ist the "Shared IP" page which is shown in case that no corresponding website exists. You can find it in /var/www/sharedip/
  5. roadster

    roadster New Member

    Thanks, Till

    Unfortunately this does not work for some reason on my setup. Any domain which is pointed in DNS to my server, resolves to one of the existing websites on the server when that new domain is not setup on the server as a vhost. ???



Share This Page