H
Homarr•2w ago
Roberto

go to localhost

Hi (new user here), I have this need - I usually access my home lab from two different networks (either the vpn hostname when I am away, or the LAN IP address when I am home). This may be an issue, because when I add a hosted app (in the same host where homarr docker container is), I cannot really refer to localhost as address. Do you have any suggestion? Meaning any solution from UI level, so when i am connected via IP clicking the app will lead me to the self hosted app both when I am using vpn hostname or direct IP address. I know this is not strictly a homarr problem, but probably anyone in this community has dealt with it already. Thanks in any case!
Solution:
https://github.com/ajnart/homarr/releases/tag/v0.15.3 under placeholder for dynamic URLs. Would that be what you're looking for?...
Jump to solution
7 Replies
Cakey Bot
Cakey Bot•2w ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
❓ Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
explosive parrot
explosive parrot•2w ago
I have a similar usecase. As a suggestion: 1. Clone the board. 2. Set one board to all VPN hostname links, set the other to all IP address links. 3. Keep local IP machines logged into a user with the IP board as default. 4. Keep external machines logged into a user with the VPN board as default. I have my cookies set on my cellphone, so when I access Homarr from IP I get my IP user, and when I access from my domain name, I get domain links.
Roberto
Roberto•2w ago
that sounds doable, kudos for you @explosive parrot - how can I clone the board? 😄 (still learning)
explosive parrot
explosive parrot•2w ago
No problem! Inside the homarr/configs folder is all of the .JSON files, these are your boards. Copy a file, rename it, restart homarr, and you're done. Depending on your setup it might be easiest to find/replace inside the .json file, or you can just edit this new board through homarr. You should only need to edit the external links though. No matter where you are accessing from, homarr can still connect from the IP address
Solution
Tag
Tag•2w ago
https://github.com/ajnart/homarr/releases/tag/v0.15.3 under placeholder for dynamic URLs. Would that be what you're looking for?
Roberto
Roberto•2w ago
@Tag yessss this is even better!
Roberto
Roberto•2w ago
thanks pals, problem solved - now I just need to refactor all my apps 😄