skip to Main Content

Redirect HTTP to HTTPS with VirtualHost – Apache

I have Let's Encrypt SSL certificate for exampledomain.com. www.exampledomain.com redirects to https://exampledomain.com, but exampledomain.com gives "Apache2 Ubuntu Default Page". I use following .conf file for domain in sites-available folder: <VirtualHost *:80> DocumentRoot /var/www/html/mydomain ServerName mydomain.hu ServerAlias www.mydomain.hu RewriteEngine on RewriteCond…

VIEW QUESTION
Back To Top
Search