LAN Question
-
Hey Everyone,
I have what is likely a simple question, but I'm stumped so here goes:
I've set up Cloudron on a fresh install of Ubuntu 20.04 LTS. Everything is working well when accessing from outside my LAN but within the LAN, I can't get it to work correctly. I can't find any setting in my router for NAT Loopback and I'm fine just using the local IP anyway.
When I use the IP of my server through a browser, the browser redirects to:
https://xxx.xxx.xxx.xxx/#/apps
So, clearly it's hitting Cloudron but it loads a blank page. Viewing the source of the page, I see it's called notification.html but I don't know what it's trying to notify me about so I'm not sure what to try to fix.
I've set a couple of Cloudron servers up before and typically the internal networking works easily and I have to tinker to get the DNS to work. This appears to be the opposite and now I'm a bit stuck.
Any insight is appreciated!
-
Hi! Generally hitting the Cloudron with the raw IP will not work. It should not dump some html though, but show a placeholder page. The reason is that the nginx reverse proxy uses the domains to distinguish which app (or the dashboard) should be served up.
One option to use the local IP is, to adjust your hosts file on your laptop/desktop to point the dns towards your local IP, however if you leave your home network, this will be an issue.
Also to get on the same page, your Cloudron is accessible fine from outside your home network or are you currently still trying to setup the dashboard domain and all?
-
-
@nebulon Hi!
Yea, everything is working great when hitting the server from outside my network. Your hosts file suggestion is a good one and is something I've done before. I'll dig into that. I seem to remember coming across a bit more of a graceful solution that handles internal/external requests. Thanks for jogging my memory!
-