Web Hosting Talk







View Full Version : How could this work?


webhostingis1
01-19-2010, 12:08 PM
Hello everyone,

I have been using a reseller account for around 4 months now and have since built a small client base. I set-up the following custom name servers on my domain for the reseller account:

ns1.mydomain.com and
ns2.mydomain.com

Both of these name servers point to my IP's with reseller account.

I wish to keep this reseller account for my own website and for emergencies. I also offer trial accounts, from time to time it will attract a ‘bad egg’. For this reason I would like trial accounts to be created on my reseller account while other accounts are created on my VPS. I know how to do this with WHMCS but am confused about the name servers issue.

--

A couple of day's ago I purchased my first VPS. I am slightly confused with the configuration of the name servers etc. I have set-up the following name servers for my VPS:

ns3.mydomain.com and
ns4.mydomain.com

These name servers point to the IP’s my VPS came with.

Please note I have set these up on my domain via GoDaddy not WHM.

Now because I already have clients on my reseller plan I need to continue to point my domain to ns1 and ns2 name servers.

--

This is what I would like to be able to do:

- Keep my domains name servers pointing to ns1 and ns2 because they are the custom name servers I set-up with my reseller account. I also have clients on my reseller plan using those name servers.

- Once I understand how to maintain the server I would like to start selling shared hosting accounts on my VPS while keeping my main site on my reseller account.

Am I missing something? Is this even possible?

Thanks so much for any guidance.
George

bvsonline
01-19-2010, 02:02 PM
Hello George,

Yes.. I could understand your problem. You want to maintain your custom nameservers under your reseller for all your accounts - accounts under your reseller and also for accounts on your VPS. THis won't be a problem for accounts under your VPS as the name servers points to that server itself. But it could be a problem for accounts under your VPS unless you synchronize the DNS zone files correctly. Ofcourse, this is possible. Are you using cpanel for your VPS?

jrianto
01-19-2010, 02:31 PM
I don't think he will be able to do a DNS sync since he only has reseller access for the ns1 and ns2.

I think there should be no problem. Are you using WHMCS for your automation? If you do, accounts that are setup on your VPS accounts will be pointing to your ns3 and ns4 right and WHMCS will automatically give the correct NS to your clients for them to use.

I don't see where there will be a conflict, please point it out to us if we're missing something.

Thanks.

webhostingis1
01-19-2010, 02:49 PM
Thank you so much for your replies. I will do my best to answer your questions.

Hello George,

Yes.. I could understand your problem. You want to maintain your custom name servers under your reseller for all your accounts - accounts under your reseller and also for accounts on your VPS. This won't be a problem for accounts under your VPS as the name servers points to that server itself. But it could be a problem for accounts under your VPS unless you synchronize the DNS zone files correctly. Of course, this is possible. Are you using cpanel for your VPS?

Yes I am using cPanel for my VPS and for the reseller account.

I don't think he will be able to do a DNS sync since he only has reseller access for the ns1 and ns2.

I think there should be no problem. Are you using WHMCS for your automation? If you do, accounts that are setup on your VPS accounts will be pointing to your ns3 and ns4 right and WHMCS will automatically give the correct NS to your clients for them to use.

I don't see where there will be a conflict, please point it out to us if we're missing something.

Thanks.

This is true, I do only have reseller access.

I am using WHMCS and have set-up the VPS correctly (I think) pointing to both ns3 and ns4 with the correct IP's.

--

I apologise, I may have posted this slightly early. I have a spare domain to play around with so what I will do is create a hidden package in WHMCS using the VPS and order it using this domain.

Before I signed up for the VPS I was told it was OK to use my host domain for the VPS. This domain points to ns1 and ns2 as it is used for my reseller account, could this be the problem?

Once again thank you very much for your replies :)

xtrac568
01-19-2010, 03:12 PM
Your setup is fine, nothing wrong with it.

Once you want to move your main domain/website, to vps hosting instead of reseller you just point domain to ns3/ns4 and leave ns1/ns2 records pointing to your reseller account for domains that you are hosting there.

webhostingis1
01-19-2010, 03:41 PM
Your setup is fine, nothing wrong with it.

Once you want to move your main domain/website, to vps hosting instead of reseller you just point domain to ns3/ns4 and leave ns1/ns2 records pointing to your reseller account for domains that you are hosting there.

Thanks very much for your reply.

I actually plan on keeping my main website on the reseller account, just so I know it's safe. God forbid my VPS goes down my clients will still be able to contact me on my main site.

I will also be using the reseller account for any other websites I create in the future.

That's the plan anyway. Would this be a problem?

xtrac568
01-19-2010, 04:52 PM
if your reseller account is reliable, then no problem :)

webhostingis1
01-19-2010, 05:26 PM
if your reseller account is reliable, then no problem :)

Thanks, yeah my reseller provider is very reliable. It actually works out well because without the reseller account I would have to pay more for WHMCS :)

--

Thank you very much for your replies everyone!

Right I just did a test and everything works very well!

I created a free test hosting product. I then Ordered it myself and everything set-up perfectly and the welcome email contained the correct ns3 and ns4 name servers.

A couple of things I would love to be change are:

- Currently WHM and my cPanel accounts on the VPS use the IP address. I assume this is because my main domain is pointed to ns1 and ns2 name servers rather than ns3 and ns4 of my VPS. Is this a security issue or not really?

- My reseller account sends 2 emails when a free hosting account is ordered. These are the new order notification from WHMCS and the new account email from WHM. With the VPS test I didn't receive the WHM email. Is this a setting in WHM that I need to tick?

- Lastly I followed this guide to restore a test backup (as I couldn't use this option on the reseller WHM):

http://www.webhostingtalk.com/archive/index.php/t-518914.html

I created the back-up and placed it in the /home/ directory. When I went to WHM > Backup > Restore a Full Backup/cpmove file

to restore the cPanel backup it doesn't seem to detect the backup. Is there a reason for this? I have followed the guide closely and placed the back-up file in the correct directory with no luck.

Thank you so much everyone for your help!

webhostingis1
01-22-2010, 06:58 PM
Hello everyone, while it's working well a couple of things are preventing me from starting to sell hosting accounts on the VPS.

1) It's impossible to access server.mydomain.com because my name servers on the domain are pointed to my reseller account.

2) The only way to access the cpanel account is by using the ip rather than urls such as clientdomain.com/cpanel. Once again this is due to the name servers.

I'm wondering if there is a way for the above to work on my VPS as well as my reseller account. Both use different name servers at the moment.

I also got this email from WHM:

IMPORTANT: Do not ignore this email.
The hostname (server.mydomain.com) resolves to . It should resolve to
36.451.23.419. Please be sure to correct /etc/hosts as well as the 'A' entry in
zone file for the domain.

Some are all of these problems can be caused by
/etc/resolv.conf being set-up incorrectly. Please check this file if you
believe everything else is correct.


You may be able to
automatically correct this problem by using the ' Add an A entry for your
hostname ' under ' Dns Functions ' in your Web Host Manager


(The IP isn't my real IP I made it up but the email shows my server IP)

I do not understand if setting up an A entry would solve my problem.

Any guidance on a solution would be greatly appreciated!

Thanks so much to every member of this forum.