setting up slave server for nginx website

Discussion in 'Nginx' started by nginxman, Aug 18, 2016.

  1. #1
    Hi!

    I have a windows 2012 server with dns running. I have created ptr record for let's say company google.com with ip of 10.0.1.22. The ip is the ip of a linux server running off the same network that I would like to make a slave and run via nginx a website for domain. Can you point me in the direction to set this up? Do I need bind loaded in my linux box? I have the website setup via nginx and am able to run sites via localhost. But now I want to run the site for the world to see from from linux box. The site already was running fine in Windows over the web via IIS. I have DNS still running for the site in Windows, but have stopped services for the domain in IIS.

    Also do need to do any lines in resolve.conf, or named??

    Note- I have set up a server listener in conf.d -->etc/nginx/conf.d/site1.conf

    server {
    listen 80;
    server_name xxx.xxx.xxx;
    root /var/www/site1;
    index index.html;
    }

    So many thanks for any help.
     
    nginxman, Aug 18, 2016 IP