Newly created URL pointing to wrong site

Discussion in 'ISPConfig 3 Priority Support' started by felan, Feb 16, 2016.

  1. felan

    felan Member HowtoForge Supporter

    G'morning.

    I have created a new site in ISPConfig 3.0.5, Debian 7, Apache, but it shows the content from the wrong site? I have created 3 fake domains starting with 0 but the new site, http://ankerhus-akademi.dk still shows the content of https://www.3diaetister.dk which is also on our server and using the same IP. ANy ideas?

    Mike
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Ensure that you dont mix * and IP setting in the websites, either sue * or use the IP for all sites that point to the same IP. If you would mix them, then the site that has the IP will get the requests from sites that use *.
     
  3. felan

    felan Member HowtoForge Supporter

    We only have two IPs listed on our server and do not use * anywhere.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. Then please check that the vhost file for the new website exists in the apache sites-available directory and that there is a symlink in the apache sites-enabled directory to that file.
     
  5. felan

    felan Member HowtoForge Supporter

    Yep all looking exactly as it should. Though here is an odd thing. I installed a certificate on the site, and wupti it worked o_O
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    ok, so you were talking about accessing a site with ssl that had no ssl enabled or no certificate? When there is no ssl for a namebased vhost in apache, then the first website is used instead that has ssl enabled.
     
  7. felan

    felan Member HowtoForge Supporter

    That is correct.
     

Share This Page