One Domain Name, Two VPS
This might be a simple question, but something I'm really new to and that's clustering. I'll give my current setup below. I have many sites, but two VPS because one site is large and would degrade other sites. They honestly didn't need as many resources either. But my "umbrella company" is ftlp llc so I use that domain for both servers. See below.
VPS 1
server.domain.tld
ns1.domain.tld
ns2.domain.tld
VPS 2
server2.domain.tld
ns3.domain.tld
ns4.domain.tld
I like them having that "branding" of the domain and honestly, I don't use email servers at all and these are flat out just for sites both of them. I'm very new and just literally found out about clustering, so I'm just curious if doing that is worth my time? I'm reformatting both right now to get a bit of NGINX optimization and figured it's a good time to approach this, but I am not a DNS expert, certainly would be nice to put these two in some sort of relation though.
Anyway, basic question, am I right to just keep this simple or is there a better way to make this set up a little more fluid? (also, I won't lie, I might need a little hand holding) ;)
-
Forgot to add I host all domain names on Cloudflare, not sure if that's of importance or not. 0 -
Hello, Generally, with DNS clustering, you'd want to setup an additional server or two and install cPanel DNS-Only for the purpose of DNS hosting. You'd then link your hosting servers to the DNS-Only servers as part of the cluster configuration: Guide to DNS Cluster Configurations - cPanel Knowledge Base - cPanel Documentation Thus, the setup would look like this: server.domain.tld - cPanel Installation server2.domain.tld - cPanel Installation VPS 3 - cPanel DNS-Only Installation Name servers: ns1.domain.tld VPS 4 - cPanel DNS-Only Installation Name servers: ns2.domain.tld This would allow you to set the name servers for any domain name on either server to NS1/NS2.domain.tld. Thank you. 0 -
Okay, so if I'm understanding, there is really no need in my setup? I honestly just have the two VPS and not looking to add another right now for something I don't fully understand as of yet (late night reading will be the next few nights) but I guess the question is, my current setup works and hasn't given me trouble, so maybe just stick with what I have? 0 -
Hello, DNS clustering is not required. It adds some redundancy in the event your servers fail and you need to quickly point your domain names to another server. Here's the quote from our documentation that explains the potential benefit of using a DNS cluster: If your nameservers exist in different geographical locations and one fails, DNS clusters allow you to maintain DNS functionality. Visitors can still reach the websites that your server hosts. DNS clusters also allow visitors to reach websites more quickly than they could if only one nameserver processes all of the DNS requests.
Thank you.0 -
Understood, I'll revisit this at a later time then. Been fairly lucky for some time with quality of "uptime". Thank you for the quick explanation. J 0
Please sign in to leave a comment.
Comments
5 comments