(09-07-2018, 01:14 AM)tuoidv Wrote: How to set up domain with both Http and Https?
For example, my domain name is http://www.zpanel.ga
Go to Admin module> Apache Config> Select VHOST to overwrite the virtual server settings
and then I added the SSL directive
And I came to the gate
overriden ############
With this configuration
############
With Https Is Work = (https: //www.zpanel.ga)
With Http Is Not Work = After opening http://www.zpanel.ga to display the control panel
Who can help?
Thank you .....
I do not understand why you would use both HTTP and HTTPS on same domain..? Does the domain have login or any other type of forms? If not, you do not need HTTPS. If so, the entire site should stay HTTPS for security reasons. To forward the HTTP to HTTPS use the selection in the Admin module> Apache Config> Select VHOST to overwrite the virtual server settings and select port forward to 443.