D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
etc
/
apache2
/
sites-enabled
/
Filename :
sjbhajanmandali.com.conf
back
Copy
<VirtualHost *:80> # Admin email, Server Name (domain name), and any aliases ServerAdmin akki.gautam2204@gmail.com ServerName sjbhajanmandali.com ServerAlias www.sjbhajanmandali.com # Index file and Document Root (where the public files are located) DirectoryIndex index.html index.php DocumentRoot /var/www/html/sjbhajanmandali.com/public_html/ # Log file locations LogLevel warn ErrorLog /var/www/html/sjbhajanmandali.com/log/error.log CustomLog /var/www/html/sjbhajanmandali.com/log/access.log combined RewriteEngine on RewriteCond %{SERVER_NAME} =www.sjbhajanmandali.com [OR] RewriteCond %{SERVER_NAME} =sjbhajanmandali.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] </VirtualHost>