"Redirect" HTTP to HTTPS

Hello everyone,
i’ve setup a nethserver installation with owncloud.
When i connect to it using https://site.example.com/owncloud it connects perfectly but if i just ype in my browser site.example.com/owncloud it says the server wasn’t found but if i type site.example.com it shows the apache test page correctly. Is there a way to make it use https even if i don’t write it?

Owncloud is https only but the redirect should work fine, I’m trying to reproduce it.

Sorry for the late response, I can’t reproduce it. I have been redirected to the https URL

@LamboLighting have you resolved yet?

Yes the problem is fixed. From what i remember i had set hostname to local in server name but after changing it everything worked? Can’t really remember, sorry :confused:

1 Like