I am trying to understand how to resolve DNS for websites names to named IP addresses. The websites are registered with reg123 but the sites are hosted on another server. Where do input these details on Nginx? Where in my Nginx config files do I imput the correct DNS that will link the website to the correct IP address ? I followed this turorital and it seems to indicate that your server is set up like this:
server {
listen 80;
listen [::]:80;
root /var/www/example.com/html;
index index.html index.htm index.nginx-debian.html;
server_name example.com www.example.com;
location / {
try_files $uri $uri/ =404;
}
}
However the IP address for my website is something like: 192.889.167.423