# I can't access nextcloud from my local ip

**URL:** https://syncloud.discourse.group/t/i-cant-access-nextcloud-from-my-local-ip/241
**Category:** Existing Apps
**Tags:** nextcloud
**Created:** [22 September 2022 18:30 UTC](https://syncloud.discourse.group/t/i-cant-access-nextcloud-from-my-local-ip/241 "2022-09-22T18:30:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![juanperez](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@juanperez](https://syncloud.discourse.group/u/juanperez)
#### Post date: [22 September 2022 18:30 UTC](https://syncloud.discourse.group/t/i-cant-access-nextcloud-from-my-local-ip/241/1 "2022-09-22T18:30:53Z")

</div>

I am trying to access nextcloud from my local ip. I am aware that I have problems with NAT Loopback but I want to access for example  
10.0.0.20/nextcloud  
and I can’t find the local address to access nextcloud

Has anyone tried it?

Cheers

---

<div class="post-metadata">

### Author: ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)
#### Post date: [22 September 2022 21:13 UTC](https://syncloud.discourse.group/t/i-cant-access-nextcloud-from-my-local-ip/241/2 "2022-09-22T21:13:46Z")

</div>

This will not work as we use domain based app routing instead of path based (which is more complex)

There are few workarounds here: [NAT Loopback · syncloud/platform Wiki · GitHub](https://github.com/syncloud/platform/wiki/NAT-Loopback)

---

<div class="post-metadata">

### Author: ![janseta](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@janseta](https://syncloud.discourse.group/u/janseta)
#### Post date: [26 September 2022 08:46 UTC](https://syncloud.discourse.group/t/i-cant-access-nextcloud-from-my-local-ip/241/3 "2022-09-26T08:46:47Z")

</div>

In my case, the solution was this:  
1 - Make a fixed IP for my Nexcloud gadget (192.168.1.100 in my case)  
2 - In my Router (192.168.1.1 in my case), in DNS Service, I defined host names that take you to the fixed IP (xxxx is my account):  
xxxx.syncloud.it - 192.168.1.100  
nextcloud.xxxx.syncloud.it - 192.168.1.100  
openvpn.xxxx.syncloud.it - 192.168.1.100  
3 - In my PC, in the network properties, I define that the primary DNS is the Router (192.168.1.1 in my case)  
As secondary DNS I put a generic one (8.8.8.8 for example)

This way, when I put the address “nextcloud.xxxx.syncloud.it” , it looks first in the DNS table of the Router…  
And the normal addresses, it will find them in the secondary DNS.
