How to set a SSL on DocumentRoot?

Started by greed, June 04, 2017, 01:09:39 PM

Previous topic - Next topic

greed

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

Sandeep

are you using custom document root ?

greed

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.
/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?