Second VPS

adi003

Verified User
Joined
Jan 29, 2011
Messages
11
Hello.

I stared a small hosting site and I use DirectAdmin(on debian).
My server is in NL. I need a second server in UK.

my domain is example.com

I have NS1.example.com pointing to my NL server

If I buy a second server in UK what configurations do I need to make in order to have ns2.example.co? (on this server in uk).
Do i need to add something in my first DA server? Do i need to make a master - slave DNS config? DNS clustering? or how?

I read all the topics here but I couldn't understand. Please help. Thanks
YES i did use google before asking
 
Multiserver is what you need. Please, use google or built-in search system to find more information for Multiserver on these forums.
 
Ok ok. But how do i setup WHMCS. i just add the second server? What name servers do I add to it? still confused. can you explain better? I read all that posts before posting this topic.

please have patience. Thanks
 
Never used WHMCS. But suppose, it supports more than one server. Add just new one and update your packages to use new server for new accounts, or whatever you like.

Sorry, not enough clear for me. What name servers are you talking about? You still can use ns1.example.com and ns2.example.com for all domains on both servers. ns1.example.com will have IP of the first server, and ns2.example.com will have IP of the second one.
 
ok. big picture
___________________________________________
| |
| Server 1 33.22.x.1 | Server 2 - 96.85.x.1
_____|____________________ ______|__________________________
| WHMCS domain.com/whmcs | | Direct admin |
| DirectAdmin | | no whmcs |
| domain.com | | i need ns3.domain.com 96.85.x.1 |
| ns1.domain.com - 33.222.x.1| | how do i configure ns here? |
|how do i configure whmcs here | |________________________________| |__________________________|
 
I do not know, how you should configure WHMCS there. Perhaps anybody else knows, and will answer.

About ns3.domain.com it's not clear, what exactly not clear for you. Add A record for ns3.domain.com in domain.com with 96.85.x.1, update default nameservers for new accounts, if needed. And that's all. Nothing else is needed to be done to set it up. As soon as you start using Multiserver function on both server, directadmin will do everything for you itself.

If you need transfer all DNS zones after enabling Multiserver function from one server to another one, run in shell (on first server):

Code:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue
 
I do not understand, what do you mean by your "how do I configure ns here". You can do it manually or automatic, or even hire somebody.

Until you are not specific, I can't help you here. What exactly do you want to get as a result? More details are needed.

Perhaps somebody else can understand and help you.
 
Ok.
You have 2 servers with DirectAdmin. How do you configure them? (in terms of dns). simple
 
Feature is described here: http://www.directadmin.com/features.php?id=533

1. Define for yourself, what NS you going to use (at least two): e.g.

ns1.example.com
ns3.example.com

for all servers in DNS cluster. Check if you can resolve them to correct IP address.

2. Login into directadmin (on all servers in DNS-cluster) and add them as default for new accounts: admin level and reseller level.

3. Enable Multiserver on all servers in DNS-cluster.

4. Add first server to the second one on Multiserver page, and second server to the first one.

5. Test connections on all servers in DNS-cluster

6. That's all.


If you need transfer all DNS zones after enabling Multiserver function from one server to another one, run in shell (on the first server):

Code:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue


But, how do I protect and tune named.conf it's not the subject. Perhaps, you can find some solutions on these forums, or anybody else is willing to share.
 
so:

I set up ns1.domain.com on first server, then ns2.domain.com on second server and finally i configure multiserver in DA.

Thats all... right?
 
Thanks a lot for the patience. I should buy a beer. Or a vodka since ur from Russia :)
 
Ok. Bought the second vps.

i have server 1 -> 192.168.0.1
and server 2- -> 192.168.0.2

on server1 i need ns1.example.com and on server2 i need ns2.example.com
I went to the register of my domain and set the name servers ns1.example.com -> 192.168.0.1 and ns2.example.com -> 192.168.0.2.

I went to first server using 192.168.0.1:2222 logged in as admin went to user level -> domain setup -> and i added example.com

Went to reseller level -> nameservers and created ns1.example.com.

if i create a new account on this server everything is fine if and if give to a new user the ns1 name server all is ok.

NOW the problem.
on the second server i followed the same steps
I went to the server using 192.168.0.2:2222 logged in as admin went to user level -> domain setup -> and i added example.com

Went to reseller level -> nameservers and created ns2.example.com.
I deleted the www entry for example.com on this server.

when i try to ping ns2.example.com i get no response.
 
ok. ive set up the records as you said but now i have local data set to yes on both servers :confused:
 
I don't know, what have you done. And it's impossible to guess that. So either describe in details, or send me your passwords to directadmin.

Anyway, example.com can't and should not be set as local on both servers.
 
Not to mention that 192.168.x.x are non-routable IP#s; they don't work on the 'net.

Please post real information for help.

Jeff
 
Back
Top