Make host resolve more precise

This commit is contained in:
Stefan Verhoeven 2017-04-04 22:10:24 +02:00
parent b26f4688f8
commit 13387377c9

View File

@ -30,7 +30,7 @@ How to run the container:
docker run -d -p 80:80 sverhoeven/cartodb
```
The CartoDB instance has been configured with the hostname `cartodb.localhost`, this means the web browser and web server need to be able to resolve `cartodb.localhost` as the machine where the web server is running.
The CartoDB instance has been configured with the hostname `cartodb.localhost`, this means the web browser and web server need to be able to resolve `cartodb.localhost` to an IP adress of the machine where the web server is running.
This can be done by adding cartodb.localhost alias to your hosts file. For example
```
sudo sh -c 'echo 127.0.1.1 cartodb.localhost >> /etc/hosts'