Portal Home > Knowledgebase > Articles Database > Reseller hosting
Reseller hosting
Posted by tehe, 01-13-2014, 08:15 PM |
Hi,
I'm looking at getting a reseller plan due to having a large amount of customer sites already.
When setting the nameservers for the clients to use (ns1.mydomain.co.uk and ns2.mydomain.co.uk), I don't want the mydomain.co.uk site to be on the same box.
How would I go about doing this?
Would it be ns1.mydomain.co.uk+ns2 => ip1+ip2 of reseller box and an A record to the vps which has the mydomain.co.uk site?
OR would it be
A record ns1.mydomain.co.uk+ns2 => ip1+ip2 of reseller box and ns1+ns2 => nameservers of vps of mydomain.co.uk?
mydomain.co.uk site is on another box, ns1+2.mydomain.co.uk must go to the reseller box.
Thanks
|
Posted by HostWithLove_Cody, 01-13-2014, 08:43 PM |
Placing your main website separate from the reseller account is a good way for ensuring redundancy and is a common method for most hosting companies.
You can consider the following approach:
Main Server NS1 (ns1.serverA)
Main Server NS2 (ns2.serverA)
Reseller Server NS1 (IP Address 1)
Reseller Server NS2 (IP Address 2)
You would need to point your domain to the main server by setting their nameservers in your domain control panel to ns1-ns2.serverA. Make sure there is an account setup on the main server for your main website so you can modify the DNS zone to include the A records subsequently.
Subsequently, using your domain registrar's control panel, create child nameservers ns1-ns2.yourdomain.com using IP Addresses 1-2.
Lastly, modify the DNS zone for your main website's account by creating A records for ns1-ns2.yourdomain.com with IP Addresses 1-2.
Last edited by HostWithLove_Cody; 01-13-2014 at 08:46 PM.
|
Posted by tehe, 01-13-2014, 08:55 PM |
Thanks for the reply, much appreciated.
How would this work?
Domain panel:
nameservers - ns1.mainserver.co.uk ns2.mainserver.co.uk ns1.resellerserver.co.uk ns2.resellerserver.co.uk?
|
Posted by Kingfish85, 01-13-2014, 09:12 PM |
You use the IP's that are going to the server where the accounts are being hosted.
Those 2 IP's would be what you enter for the nameservers.
I'd recommend a company that uses a DNS cluster however. In case you happen to need to move from server to server with the same company, it's much easier. Depending on where the cluster servers are, it can speed up DNS queries as bit as well in addition to a little more redundancy.
|
Posted by net, 01-13-2014, 09:18 PM |
Moved > Reseller Hosting .
|
Posted by tehe, 01-13-2014, 09:21 PM |
Ok, so these would just be A records on the dns server for the main server?
main server reseller server
a record ns1 ---------------> x.x.x.x
a record ns2 ---------------> x.x.x.x
domain panel registrar
ns1 ----> main server x.x.x.x
ns2 ----> main server x.x.x.x
|
Posted by RRWH, 01-13-2014, 10:41 PM |
Since you are buying a reseller package, best bet is to simply ask the host you are buying from about the DNS set-up. They probably already have multiple nameservers and it is really pretty easy for them to advise you of what you need to set up.
|
Posted by YagHost-Ravi, 01-13-2014, 11:43 PM |
On hosting of mydomain.co.uk add two DNS record.
ns1 -> A -> ns1 IP
ns2 -> A -> ns2 IP
Ask your reseller hosting provider for ns1/ns2 IP.
Done!!
|
Add to Favourites Print this Article
Also Read