Question

http to https on other ip

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?

Subscribe
Share

Submit an 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.

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

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>