# Letsencyrpt setup fails for host with internal IP address

**URL:** <https://meta.discourse.org/t/letsencyrpt-setup-fails-for-host-with-internal-ip-address/135911>\
**Category:** Self-hosting\
**Created:** [December 13, 2019, 11:10pm UTC](https://meta.discourse.org/t/letsencyrpt-setup-fails-for-host-with-internal-ip-address/135911 "2019-12-13T23:10:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![noodle](https://avatars.discourse-cdn.com/v4/letter/n/ac91a4/32.png) [@noodle](https://meta.discourse.org/u/noodle)\
**Post date:** [December 13, 2019, 11:10pm UTC](https://meta.discourse.org/t/letsencyrpt-setup-fails-for-host-with-internal-ip-address/135911/1 "2019-12-13T23:10:25Z")

</div>

Hi, I am attempting to set up discourse on an ubuntu machine for first time. The intent is that the platform will only be accessible from within our company network, hence the IP address for the hostname registered with our DNS provider is an internal IP.

I am using instructions from [How to Install Discourse Forum with Nginx on Ubuntu 16.04](https://www.howtoforge.com/tutorial/how-to-install-and-configure-discourse-forum-with-nginx-on-ubuntu-1604/)

I have successfully bootstrapped and launched. However step 3 is failing (Generate SSL Letsencrypt) with following error:

Failed authorization procedure. (http-01): urn:ietf:params:acme:error:dns :: No valid IP addresses found for

nslookup on the machine can find the IP address from the hostname, and I can also ping the hostname

I think it has something to do with the fact the the IP address for the host is an internal address. I found this article but I’m not sure how to proceed. [No valid IP addresses found for (my domain) - #8 by \_az - Help - Let's Encrypt Community Support](https://community.letsencrypt.org/t/no-valid-ip-addresses-found-for-my-domain/57417/8)

---

_[View the full topic](https://meta.discourse.org/t/letsencyrpt-setup-fails-for-host-with-internal-ip-address/135911)._
