HTTP to HTTPS with alias domains

Discussion in 'Installation/Configuration' started by Joueur Citoyen, Dec 30, 2017.

  1. Joueur Citoyen

    Joueur Citoyen New Member

    • Debian 8.1 (Jessie)
    • ISPConfig 3.1.10
    Hello :)
    I have encountered an issue I am not able to solve. I will try to be as precise as possible because maybe you have got a magical solution! ;)
    • I installed a web domain at: boutique.capron.pro (with Prestashop 1.7 running); it works like a charm with http being forced to https and all.
    • Then I added an alias at marketplace.capron.pro (because I want to use the multi-websites feature from PS) — I can access to https ://marketplace.capron.pro but! When I reach http ://marketplace.capron.pro or marketplace.capron.pro, it does not redirect to https. Plus, I end up reaching the Apache2 Debian Default Page.
    Do you have a clue about this one? Do you think I did something wrong in ISPConfig? Or maybe in Prestashop? Thanks for your help!
    Julien
     
  2. ahrasis

    ahrasis Well-Known Member

    I think it's because redirect is only set in your main domain, not alias domain. Depending on how your .htaccess file code is, you may need to add the alias domain in the .htaccess file as well.
     

Share This Page