setting up a default site or the real error-message

Discussion in 'Installation/Configuration' started by wiseguy, May 16, 2010.

  1. wiseguy

    wiseguy New Member

    Hallo,

    I have a serious behavior with my ISPConfig 3:
    I konfigured some website-domains like domain1.de, domain2.de and domain3.de.

    I configured for all these "www-alias".

    Now when I for example go to testing.domain1.de I come to domain3.de (maybe because thats the last created domain on my ISPConfig). When I deactivate domain3.de, I come to domain2.de instead... What I want is an error mesage, when I go to a site which is not configured or activated. How can I do that? I thought this would be the default behavior?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. wiseguy

    wiseguy New Member

    I more like to have the error message 404 "not found" when I go to a seite on my server which not exist.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    404 errors are for pages that are unavailable only and not for non existing websites. The apache webserver does not show you a 404 page if there is no vhost for a requested domain.

    But you can add a default vhost as explained in the apache manual and then add a html page in it with a text of your choice, e.g. that this website is not available.
     

Share This Page