ServerName kellystaxi.com ServerAlias www.kellystaxi.com RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} ServerName kellystaxi.com ServerAlias www.kellystaxi.com RewriteEngine on DocumentRoot /var/www/html/kellystaxi/frontend ErrorLog /var/log/project/kellystaxi/error_project_errorlog HostnameLookups Off UseCanonicalName Off ServerSignature Off AllowOverride All Require all granted Order allow,deny Allow from all SSLEngine on SSLCertificateFile /etc/ssl/certificates/kellystaxi.com.crt SSLCertificateKeyFile /etc/ssl/certificates/kellystaxi.com.private.key SSLCertificateChainFile /etc/ssl/certificates/kellystaxi.com.ca_bundle.crt