Default page for https

Discussion in 'General' started by Whistler, Jun 13, 2012.

  1. Whistler

    Whistler New Member

    Where can I configure the default page for "https" connection?
    For default "http" connection apache correctly points to /var/www/index.html, but for https://server_IP it points to one of the existed "https:// sites.
    Please help :)

    I'm using ISPConfig 3.0.4.5
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Try this (if you use Debian/Ubuntu):

    Code:
    a2ensite default-ssl 
    Restart Apache afterwards:
    Code:
    /etc/init.d/apache2 restart
     
  3. Whistler

    Whistler New Member

    Thanx for reply, but didn't help.

    There is appeared a new file "default-ssl" in /etc/apache2/sites-enabled/ with default path to /var/www/ but still https://Server_IP point to one of the existed "https" sites.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    SSL is a IP based protocol, so you should not have more then one ssl sites on that IP address. The default ssl page is only displayed for IP addresses were no site exists for.
     
  5. Whistler

    Whistler New Member

    Strange, but if I type http://Server_IP, apache shows the default page not existed site, but why it's not applicable to https ?
     

Share This Page