# Nextcloud + Static IP

**URL:** <https://help.nextcloud.com/t/nextcloud-static-ip/70131>\
**Category:** ℹ️ Support\
**Tags:** nc17\
**Created:** [February 4, 2020, 7:30am UTC](https://help.nextcloud.com/t/nextcloud-static-ip/70131 "2020-02-04T07:30:38Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Reiner\_Nippes](https://help.nextcloud.com/user_avatar/help.nextcloud.com/reiner_nippes/32/9479_2.png) [@Reiner\_Nippes](https://help.nextcloud.com/u/Reiner_Nippes)\
**Post date:** [February 5, 2020, 7:35am UTC](https://help.nextcloud.com/t/nextcloud-static-ip/70131/4 "2020-02-05T07:35:47Z")

</div>

> [@Dmitrij](#):
>
> I smeared the external IP address.

thats’s more likely a fqdn aka server name with domain. (just wording. but not to get confused. since there is an ip address in your screen shot.)

![grafik](https://help.nextcloud.com/uploads/default/original/3X/3/1/31d6e34fb0ab995ef0acca4bcd751ba5a538e7b4.png)  
 ![grafik](https://help.nextcloud.com/uploads/default/original/3X/a/6/a6eb120955c622a75c0e2e2863684c5cc746ec1f.png)

> [@Dmitrij](#):
>
> why can’t it come from the external IP?

do you have a screenshot of the error message?  
did you include http://… in the trusted domain arry?  
did you try a default web server page instead of nextcloud. just to check if you don’t have a routing problem.

and i think the ![grafik](https://help.nextcloud.com/uploads/default/original/3X/7/7/77762c6b1b05c5a28a466e22db6fa2fd3a54f4c1.png) is not necassary. just remove that first. but it might not be related to your problem.

> [@HowTo: Add a new trusted domain](https://help.nextcloud.com/t/adding-a-new-trusted-domain/26):
>
> Trusted domains are used by Nextcloud to prevent [Host Header Poisoning](https://statuscode.ch/2015/02/a-tale-about-trusted_domains/). You need to specify every domain at which your Nextcloud can be accessed. This means if you have Nextcloud installed at “192.168.0.29” and also want it to be accessible at “[cloud.example.com](http://cloud.example.com)” you’d need to modify the trusted\_domains entry in your config/config.php. The initial config would look like the following: 'trusted\_domains' =\> array ( 0 =\> '192.168.0.29', ), To add a new domain just add new entries by ap…

---

_[View the full topic](https://help.nextcloud.com/t/nextcloud-static-ip/70131)._
