apache http to https on another ip

Discussion in 'Installation/Configuration' started by evox, Nov 6, 2016.

  1. evox

    evox New Member

    hi, i have my apache server running and working good to redirect to my subdomains (http) but i need some help when i enter sub.domain.com and redirects to another ip on my local network like https://192.168.1.101/.
    <VirtualHost *:80>
    ServerName owncloud.domain.com
    ServerAlias owncloud.domain.com
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    <Location />
    ProxyPass http://192.168.1.101/
    ProxyPassReverse http://192.168.1.101/
    </Location>
    </VirtualHost>

    This is an example to redirect only http but i want to redirect owncloud to https if i enter owncloud.domain.com
    any help??
     
    Last edited: Nov 6, 2016
  2. evox

    evox New Member

    any help?
     

Share This Page