confused newbie

MegaMan

Verified User
Joined
Dec 5, 2004
Messages
5
I want to use DiectAdmin for my first ever server, i'm new to this, i was reading the DA docs and almost everything makes sense to me but the docs do not have one word about having more than one server.

Supposing that i have one server with DA, i have my dns server DNS1.MYDOMAIN.COM and DNS2.MYDOMAIN.COM which is used for the domain of every user on my server, i also make sub-domains of my own domain to my users that don't have their own domains (i.e. USER.MYDOMAIN.COM ).
Someday my server gets full and i get a new server with DA to put more users. Can i use the same dns names of my first server ( DNS1.MYDOMAIN.COM and DNS2.MYDOMAIN.COM ) for the users on my new servers?How?If i can't, what do i do in this case?
Can i make sub domains of my own domain(configured in my first server) to users on my second server?

Thanks
 
Not with DA alone; you'd need a third-party solution.

If I were to be doing this with DA I'd probably run multiple DA servers for load-balancing and redundancy, each with it's own IP#s, and it's own DNS instance pointing to the domain to IP#s on itself. And each hosting _all_ the subdomains.

For growth in drive space to handle many domains I'd probably use one or more NFS server; since you can get NFS servers to handle many terabytes of data, I think that would be the best soluiton.

Jeff
 
Thanks, about the DNS, then what if i wanted to use different dns names on each server but with the same domain(i.e. NS1/NS2.MYONLYDOMAIN.COM on first server and NS3/NS4.MYONLYDOMAIN.COM on the second server).Can i do this with DA alone??
 
Last edited:
Yes you can do this but one of the two servers will have to be authoratitive for the domain (actually host the domain).
On the first server create the domain as per normal under DA (as a admin preferably). Add all four name servers as A entries.
The second two nameservers would have IP addresses from server 2.
On the second server add the domain as a DNS entry only under DNS admin.
Adjust the A record for the domain to point to the IP address of server 1.
Add all four NS entries again as A records.
Any future changes to DNS records for that domain will need to be mirrored on both servers.
 
cprompt said:

Any future changes to DNS records for that domain will need to be mirrored on both servers.

What do you mean with that?Do you mean that i if i create a new set of dns names for a third server i need to add these 2 new names on all the three servers?

thank you
 
If those dns names are going to be in the same domain name, yes you will have to maintain the records for that domain on all three servers. The alternative is to configure a forward lookup from two of the servers to the one hosting the domain for real but I think you would have to edit that manually in your bind config files for that domain, I can't recall seeing an option in DA to perform forward lookups.
The point to stress here is this is a DNS issue in general, not one perculiar to Direct Admin. Whatever control panel you choose to use, you would have to manage DNS in this way if you want to split a domain across multiple servers. Its far easier to keep your domains tied into a single server for each case or use an external DNS service like Jeff suggested.
 
Back
Top