LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-18-2016, 06:34 PM   #1
redhat1x
LQ Newbie
 
Registered: Aug 2016
Posts: 1

Rep: Reputation: Disabled
linux server as slave domain


Hi!

I have a windows 2012 server with dns running. I have created ptr record for let's say company xyz.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 xyz.com. 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 www.xyz.com;
root /var/www/site1;
index index.html;
}



So many thanks for any help.
 
Old 08-19-2016, 01:33 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi and welcome to LQ,

Quote:
Do I need bind loaded in my linux box?
If you want to run a slave dns on the linux box, then yes you need to run bind


Quote:
also do need to do any lines in resolve.conf, or named??
You should add an A RR for www.xyz.com in your master dns.
In the /etc/resolv.conf of th linux box you should use a nameserver authoritative for the domain xyz.com

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can configure dns cache name server with slave domain?? Gran_Maestre Linux - Server 1 07-06-2010 06:18 AM
Named slave update fails: "Server is not an authority for the domain" usernamenumber Linux - Networking 0 09-29-2004 10:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration