hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : VPS Tutorials : Linking Multiple VPS's with the same domain name
Reply

VPS Tutorials Tutorials related to VPS.
Forum Jump

Linking Multiple VPS's with the same domain name

Reply Post New Thread In VPS Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-16-2011, 11:02 PM
BassHost BassHost is offline
Temporarily Suspended
 
Join Date: Feb 2010
Location: East Coast
Posts: 404

Linking Multiple VPS's with the same domain name


Hello All, This is my first tutorial, so please bear with me....


Say we have 2 VPS’s, they will be distinguished as VPS1 and VPS2

You want both VPSs to use the same domain name as the hostname (website.com for both)

You first need to setup VPS1 Nameservers to NS1 and NS2 and corresponding IP addresses.
Setup VPS2 Nameservers to NS3 and NS4 and corresponding IP addresses.

Set hostname for VPS1 to something like: server1.website.com
Set hostname for VPS2 to something like: server2.website.com
(Obviously don’t use these, as they will be likely to be easier to attack)

Now from there, we have to set some DNS zones that will point to each other.

On VPS1:

Make sure all of your DNS zones are set for the first VPS that include its nameservers, IPs, and hostname, and any subdomains and such. From there, You will need to add A Entries that include the same things from VPS2
From VPS1, you should have/add the following DNS A Entries in:

Website.com. 86400 IN SOA NS1.website.com.

Website.com. 86400 IN NS ns1.website.com.

Website.com. 86400 IN NS ns2.website.com.

Ns1 14400 IN A xxx.xxx.xx.xx (First IP)

Ns2 14400 IN A xx.xxx.xx.xx (second IP)

Localhost 14400 IN A 127.0.0.1

Mail 14400 IN CNAME server1.website.com.

www 14400 IN CNAME server1.website.com.

ftp 14400 IN CNAME server1.website.com.

server2 14400 IN A xx.xxx.xxx.xx (First IP of Server2)

ns3 14400 IN A xx.xxx.xxx.xx (First IP of Server2)

ns4 14400 IN A xx.xx.xxx.xx (Second IP of Server2)

ns3 14400 IN NS server2.website.com.

ns4 14400 IN NS server2.website.com.




From VPS2, you should have/add the following DNS A Entries in:

Server2.website.com. 86400 IN SOA NS3.website.com [RootEmail]@Website.com

Server2.website.com. 86400 IN NS NS3.website.com.

Server2.website.com. 86400 IN NS NS3.website.com.

Server2.website.com. 14400 IN A xxx.xx.xxx.xx (IP of NS3.website.com)

Localhost 14400 IN A 127.0.0.1

Server2.website.com. 14400 IN MX 0 server2.website.com.

Mail 14400 IN CNAME server2.website.com.

www 14400 IN CNAME server2.website.com.

ftp 14400 IN CNAME server2.website.com.

ns1 14400 IN A xx.xxx.xx.xxx (First IP of server1)

ns2 14400 IN A xx.xxx.xx.xxx (Second IP of server1)

server1.website.com. 14400 IN NS ns1.website.com.

server1.website.com. 14400 IN NS ns2.website.com.


And whenever you are adding in a DNS entry that has a TLD (i.e. “.COM, .NET, .US, .TV, etc.), make sure you end it with a period (“.”)

I hope this helps anyone that has this issue. I will also be posting this on the BassHost Forums over at BassHost.net

Reply With Quote


Sponsored Links
  #2  
Old 06-25-2011, 11:30 PM
DK SEO DK SEO is offline
New Member
 
Join Date: Jun 2011
Posts: 2
How to set multiple resellers on one domain

Reply With Quote
  #3  
Old 06-25-2011, 11:36 PM
BassHost BassHost is offline
Temporarily Suspended
 
Join Date: Feb 2010
Location: East Coast
Posts: 404
well it would be a similar process. if you don't have a vps, but you know the hostname for the server, then you should be able to link multiple reseller accounts to the same domain.

You would still pretty much have all of the A records the same. Hope this helps...

Reply With Quote
Sponsored Links
  #4  
Old 07-18-2011, 04:40 AM
karigaalan karigaalan is offline
Newbie
 
Join Date: Jul 2011
Posts: 6
thanks for the tut

Reply With Quote
  #5  
Old 07-24-2011, 06:53 AM
sam_basshost sam_basshost is offline
Temporarily Suspended
 
Join Date: Jul 2011
Location: East Coast
Posts: 102
Never knew you wrote a tutorial todd. We need to start posting this good stuff on out blog

Reply With Quote
  #6  
Old 07-24-2011, 11:03 PM
BassHost BassHost is offline
Temporarily Suspended
 
Join Date: Feb 2010
Location: East Coast
Posts: 404
yes, we could do something like that.

Reply With Quote
  #7  
Old 05-23-2012, 12:00 PM
xcitchx xcitchx is offline
Newbie
 
Join Date: May 2012
Posts: 16
thank for tutor. i'll try to combine vps + shared hosting + reseller hosting

Reply With Quote
  #8  
Old 08-18-2012, 04:36 AM
tridinebandim tridinebandim is offline
New Member
 
Join Date: Aug 2012
Posts: 0
vps 2 configuration is a must? i uninstalled bind on vps2

this means i need bind on vps2?

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple VPS's on Same Root Domain? rangy VPS Hosting 15 02-16-2011 04:30 PM
Linking a domain name to a VPS? Groady VPS Hosting 2 03-15-2009 03:37 PM
VPS account with multiple domain setup? roacha Hosting Security and Technology 2 04-11-2008 10:21 AM
dns on a vps with multiple domain names Glass VPS Hosting 2 08-21-2006 03:18 PM
DNS/BIND on VPS question ( multiple domain names? ) superwormy VPS Hosting 2 12-07-2005 09:37 PM

Related posts from TheWhir.com
Title Type Date Posted
Host Europe Group Launches Domain Management Service for SMEs Web Hosting News 2013-04-24 14:31:28
US Government Returns Seized Domains to Spanish Streaming Site Rojadirecta Web Hosting News 2012-08-31 10:48:36
ICANN Publishes Details on Domain Seizure Process Web Hosting News 2012-03-09 15:38:48
Brazillian Government is Reportedly Hitting Service Providers with Domain Takedown Notices Web Hosting News 2012-02-09 10:55:05
.XXX Domain Land Rush Period Begins Web Hosting News 2011-11-08 19:34:24


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?