Author Topic: How to set a SSL on DocumentRoot?  (Read 6642 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to set a SSL on DocumentRoot?
« on: June 04, 2017, 01:09:39 PM »
Hi everyone I need to configure a SSL on my server, but I use only the documentroot. I see that I can put a SSL on my domains, but I use a domains only to backup thru a FTP, not work with web site.

How can i Do?

Thanks

Offline
*****
Re: How to set a SSL on DocumentRoot?
« Reply #1 on: June 04, 2017, 04:11:17 PM »
are you using custom document root ?

Offline
*
Re: How to set a SSL on DocumentRoot?
« Reply #2 on: June 04, 2017, 04:42:44 PM »
No, when we access ip 192.168.0.50 it opens the system that is hosted on the local server and when we open a no.ip address it also falls on that same system.
Code: [Select]
/Usr/local/apache/htdocs is my DocumentRoot

But Firefox is warning of the absence of SSL on the server.

How do I enable the https port for it to redirect automatically?