# ./discourse-setup: could not resolve host: github.com

**URL:** <https://meta.discourse.org/t/discourse-setup-could-not-resolve-host-github-com/172299>\
**Category:** Product Support\
**Created:** [December 4, 2020, 11:48pm UTC](https://meta.discourse.org/t/discourse-setup-could-not-resolve-host-github-com/172299 "2020-12-04T23:48:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![minipunch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/minipunch/32/202088_2.png) [@minipunch](https://meta.discourse.org/u/minipunch)\
**Post date:** [December 4, 2020, 11:48pm UTC](https://meta.discourse.org/t/discourse-setup-could-not-resolve-host-github-com/172299/1 "2020-12-04T23:48:05Z")

</div>

When running `./discourse-setup` it continues to fail with the error:

```plaintext
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com
fe7a66f6321f948dd840124da1f0165db18807367b4419e1cc9906eb7f71a0a8
**FAILED TO BOOTSTRAP**

```

I have tried like _at least_ 3 different solutions to this problem that I could find from this forum and around GitHub, including some Docker stack overflow answers for “lack of internet” and “DNS problems” within docker.

I have tried following like _at least_ 2 different tutorials I could find for setting the Discourse forum software up, the official one and some other one.

Things like setting up a `daemon.json` file with DNS’ configured. Setting the docker0 interface into promiscuous mode.

After all that I still get the same problem.

I am using an Ubuntu 20.04 server hosted by OVH.

I am able to ping [github.com](http://github.com) and get a response on the host, just not within the Docker setup.

Anyone able to help?

Edit: after hacking together a manual entry in the`/etc/hosts` file of the container environment for github’s IP address, it now says “connection timed out” instead of “unable to resolve [github.com](http://github.com)”.

---

_[View the full topic](https://meta.discourse.org/t/discourse-setup-could-not-resolve-host-github-com/172299)._
