E
E
EVOSandru62018-11-13 13:50:07
Nginx
EVOSandru6, 2018-11-13 13:50:07

How to point a domain to a host whose website is deployed on Docker?

Good afternoon, I
have a domain: domen.ru
On the provider's website - I indicated the ns server of the VPS hosting
. On this hosting, I have deployed a site on the docker.
sudo docker-compose up
Locally, the site opens on localhost:8080
There is a dedicated ip address for the VPS - {123}.{123}.{123}.{123}
Which port to set docker nginx to and what to write in /etc/hosts so that my site opens on the desired domain deployed on docker?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question