Hello everyone,
yesterday i made a fresh install of nethserver and i installed owncloud. I was able to access it using the ip (x.x.x.x/owncloud) but after trying to connect using an external dns (free from No-Ip.com) the server would redirect me to and address like https://hostname.domain/owncloud which doesn’t work either on LAN or from the internet. After that i couldn’t connect to the local ip either. I reinstalled nethserver today but this happened from the beginning. I can’t even connect to the local ip now as it redirects me yet again.
If i don’t type /owncloud at the end either from LAN or externally it connects to the apache test page correctly so i’m guessing it’s an owncloud problem. I also added the domain as a trusted host in owncloud using the two commands found in documentation.
Your help is much appreciated as this is a server used at work and at the moment we’re out of cloud. Thanks in advance!
As i said it’s a fresh install of nethserver, only thing i did was install owncloud, mysql and webserver through the software center and add the trusted domains. Nothing else at all. I also updated everything through ssh before doing anything at all.
Hi, I had the same problem.
if you call http://exemple.com/owncloud and NetServer is configured for use only https, NethServer redirect you to https://pav-security.pav-server.lan/owncloud. if you call https://example.com/owncloud it work (in my case).
Alternatively you can try to call the NetServer with the public name (name.exemple.com)
I usually typed it without http or https. After trying both http redirects instantly and https times out after some time.
Not only on example.com/owncloud but also on example.com which works correctly with http. Maybe it has something to do with this?
EDIT:
Oh my god, it was too easy but who would have thought.
My ISP had messed up the ports on the router last time they tried to fix something so the port wasn’t actually assigned to the server although it seemed like it was. It now works correctly.