Report this

What is the reason for this report?

http to https on other ip

Posted on November 27, 2016

hello, as the title says i have a apache server with ip 192.168.1.100 and a owncloud server with ip 192.168.1.101 and a emby server with ip 192.168.1.102, i already redirect with owncloud.example.com to owncloud ip and emby.example.com to emby ip but i want to redirect using https. anyone can help or give me an example how to do this with apache?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

DO has a nice tutorial on installing an ssl certificate on your server here: https://www.digitalocean.com/community/tutorials/how-to-install-an-ssl-certificate-from-a-commercial-certificate-authority

It goes on to show how you can setup domains to redirect from http to https ie by including a Redirect permanent line on the domain config file:

<VirtualHost *:80>
   ServerName example.com
   Redirect permanent / https://example.com/
</VirtualHost>

no one can help me? if someone can help or work with me i can help with some $$$

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.