Installation Question - DNS Settings Related

Hello,

I am currently running through the Docker installation instructions with a Public facing domain.

I am having trouble comprehending what the Step 4. DNS records Set means.

Am I supposed to set up DNS Records for Docker or for the Ubuntu Server which I am installing n8n container on?

Am I supposed to set up on Ubuntu server inherently as outlined in this Tutorial?

Or Am I supposed to set up the DNS Records for Docker specifically as outlined in this Tutorial?

Thanks for the help.

Step 4. DNS records Set means you set on DNS Records manage sites like namesilo, GoDaddy…

You have to set that up normally where you have your domain registered or wherever you manage your DNS records.

Here an example on how to do it on Cloudflare:

Hey @ImCowboySibs,

Since Docker essentially compartmentalizes a set of resources and then makes them available to the server that the container is running, you need to set up the DNS to point to the host server that is running Docker.

For example, in the diagram below:
Docker
The server example.com is running four docker containers running on ports 5678, 1234, 2345, and 3456. From anyone coming into the server hosting these containers, they are completely unaware that these services are running in containers. From their perspective, they appear to be running natively on the example.com server.

For someone to access these services remotely, they would make a request to the host computer using the specified port (e.g. example.com:5678).

So, when you are setting up an external DNS to make your services available to others on the internet, your DNS settings need to point to the host system IP so that others can get access to these exposed services.

Now, this is a very simplified example and things can get very complicated when you start adding in firewalls, routing, NAT, and internal or secondary DNS. But, if you keep in mind that the DNS your internet facing users are accessing to get to your services has to be accessible to them (i.e. How can they get to your internal DNS if they are external users?), you should have no trouble remembering where to set up the records.