View Full Version : Just got a new server and trying to setup dns
Anzix
12-13-2003, 12:02 AM
Hello Everyone,
We have had 1 server for awhile and we recently got a new one and I was woundering how would I do dns. So I can share frag-wire.com between the 2 servers.
Like I want to make a sub on server 2: fb.frag-wire.com
How do I setup the dns to for both servers to operate off frag-wire.com ns
Do I go on the 2nd server and make ns3 & ns 4? Please help me Im really a newb at this stuff.
DirectAdmin Support
12-13-2003, 01:03 PM
Hello,
You'd pick one server to control the dns (probably the first server), then you'd add an A record for the subdomain pointing to the 2nd server (ie: fp A 1.2.3.4). On the second server, just create a domain "fb.frag-wire.com". Dns won't be controlled from the second server. (Make sure the ip you've create in the dns matchs the ip you're using for the domain).
John
Anzix
12-14-2003, 12:05 AM
alright I have picked server one to control the dns so what do I do know?
I go into the first server under the domain name and add an A Record for the subdomain fb.frag-wire.com ?
DirectAdmin Support
12-14-2003, 12:48 AM
Hello,
Yes, you'd add the A record to point to the 2nd server. You would add:fp 1.2.3.4to the zone as an A record. When you don't add a dot at the end of the name (fp) it will automatically append the domain name to the end of it (fp.frag-wire.com). Then go to the 2nd server and create the domain "fp.frag-wire.com" so that apache can find it.
John
Anzix
12-14-2003, 02:27 AM
is their away to make it so where when i make an account on the 2nd server it auto does this?
ProWebUK
12-14-2003, 08:39 AM
Without coding a script, or doing additional work, no.
It shouldn't be to difficult to create a script as i mentioned in the other thread although automation *will* at the moment require work.
Chris
Anzix
12-14-2003, 05:02 PM
also would I do the same step's for a .com? Say I made an account on the 2nd server.
ProWebUK
12-14-2003, 05:11 PM
All domain extensions would be done in the same way as each other, just look at your current DNS settings and replace the domains with your actual domain.
Chris
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.