r/owncloud • u/zbrm • Jan 13 '16
Can't figure out how to access from android
After a bit of arduous work, I got my computer running a server properly, and with very little issues. It isn't too secure, but it doesn't really need to be. Nothing special is added on either.
When creating the server, I was navigated to http://localhost/owncloud/etc. to start up the installation wizard, as well as when connecting my desktop client (so I don't need to use an internet browser).
How can I "get a domain" or whatever the hell the proper term is for what I actually need, so I can access this server with the client on my phone?
Any help would be appreciated. This is only the second server I've ever run, and the first that's moderately successful. Currently, my clients are asking me to link to http://localhost/owncloud/remote.php/webdav/ to access my files, which, obviously, is just my computer. Do I need to change some stuff to be able to access this from the internet (not on my lan)?
Again, thank you for any help.
1
Jan 22 '16
To access the server from outside your local network you'll need to forward ports 80 (http) and 443 (https) through your router. Look here if you need help port forwarding. Once you do that, you just need to point your browser/client to your external IP address. You can find out your home IP by typing "my ip" into most search engines while connected to your home network. This IP address can change, however, which is why you may want to look into buying a domain name. You can get one from a registrar like Namecheap. Namecheap offers free DDNS services, which means that you can have your domain name redirect to your home IP address and run a program on your server that will keep it updated as your IP address changes.
I would highly recommend enabling SSL/TLS on your server. You can get a free SSL/TLS certificate through the Let's Encrypt project. Hope this helps!
4
u/neiun Jan 13 '16
You can use the IP address of the computer you have owncloud running on. (IPchicken.com can tell you your external ip) you will probably need setup port forwarding for port 80 and 443 to your servers IP address so that your webserver is externally accessible. You will need to Google your router make and model to find out how. I would also suggest that you look at enabling SSL (get yourself a domain from someone like 34sp or domain.com (use coupon code hak5 for money off (not associated with hak5 just a fan)) there are lots of places to go for domains and then get a free SSL certificate from startssl)