Errors on websites with and without ssl certificates (Let's Encrypt)

Discussion in 'Installation/Configuration' started by fsisti, Jul 17, 2017.

  1. fsisti

    fsisti New Member

    Hello everyone,
    I have to report the following problem with websites with and without ssl (Let's Encrypt), hosting on the same server.
    If I call a website that does not have an ssl certificate yet by adding the https protocol, I get the classic error in the browser that allows me to add an exception. If I accept and add the exception and go ahead, it does not show me the content of that website but another website with SSL certificate. So I find sites indexed by google with content that does not belong to the domain shown in the results.
    What am I doing wrong? Is there a way to prevent this from happening?
    I apologize if I have not been very clear because of my poor English.
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    To resolve that you can either setup ssl certificates for all your sites (easy with letsencrypt), or you could use multiple ip addresses, eg. one for non-ssl sites, and a different address for ssl sites, so that nothing is listening on port 443 on the non-ssl sites addr.
  3. fsisti

    fsisti New Member

    Thank you Jesse, I will take one of the solutions that you recommend.

Share This Page