First - I did post this on the Plesk forum (grin), but haven't gotten much help in a week ... possibly because this MAY not be possible via Plesk.
I have two plesk servers (Server 1, Server 2) - Server 1 hosts my primary and secondary IP addresses, along with 200+ vhosts.
I've just setup Server 2 w/ Plesk 7, and want to be able to add new domains to Server 2, but I'd like to be able to keep the same NS servers for these accounts (I don't want to have new nameservers on every new box) - so I don't know how to get Server 2 to reference the NameServers on Server 1.
For now - I setup the new domain on Server 2 as usual, but then I have to add the domain on Server 1 for DNS zone purposes only - I just change the IP addresses in the zone file to point to the IP address that is on Server 2. (because the new domain for Server 2 is registered with ns1. and ns2. that point to Server 1 Ip's)
4PSA Sales told me that they are soon to release a product that will take care of this, but "soon" is relative, and I need to get Server 2 in production.
Is there a way to do this? Ideally, I'd like to do it within Plesk, but am open to suggestions.
Fred - I dropped off a late reply at the plesk forum,
but may help to explain again.
the entire process is like:
1. set up plesk server one, two of its IP addresses
you set up for your nameservers, and you use these
in your default for new domains set up there.
2. purchase 2nd plesk server. on that one, you want
to use the two previous nameservers as the default
when setting up new accounts on that servers.
You make the dns zone (new domain) on this 2nd
server a 'slave' - there's a 'switch' link at top in
dns menu for a new domain. Then you need to supply
the IP address of a master (ns1 from above),
and you need to insert the ip address where to allow
the zone transfer into the psa database on server2 manually.
The last past is covered exactly in the plesk docs.
Assuming you're running a fairly new version of bind8 or
even bind9, updates will be sent to your first server.
Also, all new zones on 2nd server will be set up as
type 'slave' automatically in the named.conf if you've
followed the above steps.
The same would apply to a 3rd server if you obtained one,
you'd still have both your nameservers on server1, you'd
set up server3's accounts on server3, set the zone as
a 'slave' (that link in plesk) and add IP address for ns1.
Also you again manually update the psa db with the
info on where to transfer zones, which is to server1 IP
address of course.
assuming bind is running everywhere, shouldn't
be any issues.
this scenario only arises when you need to add domains,
and create the associated zone file on a particular
server, but you have nameservers elsewhere, so
if you're using plesk (or cpanel etc) to do everything
you do need to do something like the above.
cpanel has more obvious solutions built in, but on some
old cpanel servers I have, when I create a new domain
on a server where my nameservers do not reside, it's
bind which transfers (updates) the info to the nameservers
boxes. all cpanel really does is set up each new domain's
zone file with type 'slave', and it inserts the masters IP list
from the data I entered during setup of cpanel.
Process is ultimately the same, how we get there in
terms of the control panel creating the initial zone
file for the new domain may differ though.
1. do you do the named.conf thing on server1 or server2?
2. where you do the query "insert into misc (param,val) values ('DNS_Allow_Transfer1', '126.96.36.199/24');", do you enter the IP of server1, server2 or the nameserver? so it would read: "insert into misc (param,val) values ('DNS_Allow_Transfer1', '99.99.999.999/24');"
Vagrant Web Hosting - U.S. / CANADA
Website Hosting - Website Development - Content Management NEW: Windows Hosting w/ ASP.NET