httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabio F.Gervasi" <>
Subject [users@httpd] Apache responds in https, but only by test page, not my website
Date Sat, 12 Aug 2017 16:28:34 GMT

In order to switch from http to https, I have already obtained my SSL
certificates. But my problem is to run the Apache webserver (Server
version: Apache/2.4.23 (Fedora) with https (no problems with http). I mean.
For the http I'm using succesfully:

<VirtualHost *:*80*>
    DocumentRoot /home/web/

But when I define also:

<VirtualHost *:*443*>
    DocumentRoot /home/web/

the server responds in https, typing in the browser *https*:// (obviously giving me a certificate warning because I have
the certificate but I have not yet configured the server with it) but
return to me only the Apache test page and not the site. If I try other
site pages I obtain "Not Found".
Browsing *http*://, instead, everything is ok, as usually.

Where do I wrong?

Thank you very much,

View raw message