Page 1 of 2

How to access OwnCloud by Internet

Posted: Thu May 12, 2016 8:12 am
by flowrider
Hello all,
I've finally succeeded in installing OwnCloud using this guide http://www.it-connect.fr/asustor-instal ... ostgresql/ where it used Postgresql as the database. I can access OwnCloud locally but can't figure out how to access it outside my local network. I have my XXXX.myasustor.com working but using xxxxxxx.myasustor.com/owncloud doesn't work.

I've also tried this article from Asustorhttp://support.asustor.com/index.php?/K ... ip-address but I couldn't get it to work.

Any suggestions?

Re: How to access OwnCloud by Internet

Posted: Thu May 12, 2016 10:03 am
by MikeG.6.5
Two steps you need to do, that you probably haven't. You need to forward the ports for the default web server the NAS uses on your router, and then you need to include that port number as part of the address.

http://yourasustorid.myasustor.com:portnum/owncloud

This works for m every time. And you can also forward the port for the SSL as well, so you can use the https connection for security. You will have to accept a domain certificate error message once, but after that should work great.

Re: How to access OwnCloud by Internet

Posted: Thu May 12, 2016 10:38 am
by flowrider
Thanks Mike. I'll give it a try but honestly I'm pretty clueless when it comes to things like port forwarding. I always end up doing a whole bunch of stuff and never really figure out what I'm doing. I'll try and find a guide somewhere online for dummies.

I appreciate the help.

Thanks
Steve

Re: How to access OwnCloud by Internet

Posted: Thu May 12, 2016 11:16 am
by MikeG.6.5
Look at the first post in the third link in my signature. It has the details you need, but you are going to need to find your router's manual on line.

Re: How to access OwnCloud by Internet

Posted: Thu May 12, 2016 12:01 pm
by flowrider
Thanks for that. I tried the links in your Sig but they're all dead.

Re: How to access OwnCloud by Internet

Posted: Thu May 12, 2016 2:37 pm
by MikeG.6.5
Wow! Sorry, I didn't know that. They worked when I first made the signature up. I wonder if something has changed. Try them now, they should work fine now, if not let me know.

Re: How to access OwnCloud by Internet

Posted: Thu May 12, 2016 2:50 pm
by flowrider
Thanks Mike. Well I can access OwnCloud locally but not through the DDNS name. I used the third link (Plex) and did some reading. I found that port 8080 could not be seen on my external IP. I think that I'm port forwarding correctly. Not too sure what I'm doing incorrectly. I really need a dummy guide!

Re: How to access OwnCloud by Internet

Posted: Thu May 12, 2016 3:00 pm
by flowrider
I'll start from the beginning...
I successfully installed OwnCloud using a French guide that uses PostgreSQL. I can access it locally.
Image

Next I tried to edit the config.php file using this guidehttp://support.asustor.com/index.php?/K ... ip-address
Here's what they have and file I've altered.
Image

My result:
Image

Re: How to access OwnCloud by Internet

Posted: Thu May 12, 2016 3:12 pm
by MikeG.6.5
That looks right for the port forwarding, but you need to verify that 8080 is the internal port that onwCloud uses. It should be the same port number you use when you click on the ownCloud app in the ADM. If it's not the same as there, then you need to change your forwarding. (remove, save and remake.) I also have an Asus router, and I know first hand, don't make too many port forwards at once, the system can lock up. Make one, save, make the next, save, etc.

As far as editing the config file, you ALSO need to include the port number, for example:

Code: Select all

  'trusted_domains' => 
  array (
    0 => 'asutoridhere.myasustor.com:8080', # http access
    1 => 'asustoridhere.myasustor.com:443' # https access
  ),
The port is part of the address, like the last few digits of a phone number, so unless you include it, the server says it's not valid, and errors the connection. BTW, do NOT include the "#" and the text afterwards in that sample of the code. I don't know how it will work, if you do.... I put them in so you know what each line is there for.

Make those changes and tell me how it works afterwards.

Re: How to access OwnCloud by Internet

Posted: Thu May 12, 2016 3:53 pm
by flowrider
Well some success. I checked to see if 8080 can be seen and it can.

BUT...

I still can't access anything via 8080. I can log into ADM on a different connection if I use port 8000 however.

Does my config file look correct now? I'm wondering about the blue hightlighted section actually. Also wasn't too sure how to get the "1 =>" to line up with the "0=>" so I just used the spacebar until they lined up. Not to sure if that makes a difference or not.

Man this is frustrating! Synology's CloudStation was so much simpler to configure and use but I hated the way it handled images which is my main use for it. OwnCloud looked great but what a bear it's been to figure out. I've had my Asustor for almost a year now and I still can't figure this out which is unusual for me. I appreciate your help John.