File: //proc/thread-self/root/etc/apache2/sites-enabled/greatinternships.conf
<VirtualHost *:80>
ServerName greatinternships.in
ServerAlias www.greatinternships.in
DocumentRoot /var/www/html
<Directory /var/www/html>
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/gi-error.log
CustomLog ${APACHE_LOG_DIR}/gi-access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =greatinternships.in [OR]
RewriteCond %{SERVER_NAME} =www.greatinternships.in
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>