This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How To Use Both Http And Https
#10
RE: How To Use Both Http And Https
In order for this to work both accessible in port 80 and port 443, you need to add a custom SSL-Vhost manually (this is not ZPanel or Sentora Default Vhost Config)

You can try this if you are planning to give you panel accessible to port 80 and 443:
1) Do not touch the original VHOST
2) Create a Vhost file called: http-ssl-vhost.conf (or whatever file name you want as long as it is .CONF)
3) Insert or Add your SSL Cert and Key in your "http-ssl-vhost.conf"
4) Open your /etc/httpd/httpd.conf
and insert this:
#CUSTOM
SSL CONFIGURATION
Include /etc/zpanel/configs/apache/httpd-ssl-vhosts.conf
that's the custom SSL-Vhost file you made from step 2.
5) Make sure everything is correctly set... File, Path, and Configuration of your Cert and Key files.
6) Final step is to restart your Apache Service "service httpd restart" or Ubuntu "/etc/init.d/apache2 restart"

HTH
get top priority support for Sentora  "Sentora Premium Support"
Domain Name Promos @ digix1 domains

Reply
Thanks given by:


Messages In This Thread
How To Use Both Http And Https - by MET4LG0D - 09-12-2014, 04:47 AM
RE: How To Use Both Http And Https - by Me.B - 09-12-2014, 04:54 AM
RE: How To Use Both Http And Https - by MET4LG0D - 09-12-2014, 05:49 AM
RE: How To Use Both Http And Https - by Me.B - 09-12-2014, 07:13 PM
RE: How To Use Both Http And Https - by MET4LG0D - 09-12-2014, 10:49 PM
RE: How To Use Both Http And Https - by TGates - 09-12-2014, 11:00 PM
RE: How To Use Both Http And Https - by MET4LG0D - 09-13-2014, 06:59 PM
RE: How To Use Both Http And Https - by TGates - 09-13-2014, 10:37 PM
RE: How To Use Both Http And Https - by MET4LG0D - 09-14-2014, 10:21 PM
RE: How To Use Both Http And Https - by Jayster - 09-17-2014, 06:42 PM
RE: How To Use Both Http And Https - by Jayster - 09-17-2014, 06:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
https without certificate redirects to panel iraqiboy90 10 22 ,756 02-28-2021, 11:20 AM
Last Post: iraqiboy90
Install guide wget over http? edavidf 5 11 ,184 12-15-2020, 07:07 PM
Last Post: jibranahmed
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server dsmarter 14 46 ,313 08-22-2020, 02:49 PM
Last Post: kenzopoker1

Forum Jump:


Users browsing this thread: 7 Guest(s)