Enter your domain, example: mydomain.com
Generate
Generate a new one
[double click following section to copy it]
ServerName {{your-domain.com}} ServerAdmin contact@{{your-domain.com}} DocumentRoot /var/www/{{your-domain.com}}/htdocs Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all ErrorLog ${APACHE_LOG_DIR}/error.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined #optional for rewrite engine. redirect to https. comment it out if you don't need it. RewriteEngine on RewriteCond %{SERVER_NAME} ={{your-domain.com}} RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]