Oct
19
2015
How to serve a domain only through HTTPS or HTTP
By abernal
From HTTP to HTTPS
In order to serve a domain only through the HTTPS protocol, we must follow these steps:
Required data
- domain = domain name
Sample data
- domain = www.gafoac.com
Process
1. Append the next string to the .htaccess file