I recently got a VPS that uses cpanel WHM and I set it up using mostly default information because, well, I'm 100% on what I'm doing. I set up an account and everything for one of my domain's websites and used the nameservers that I thought I had set up, but it looks like I didn't do it right because the domain goes nowhere right now, and I got this message about the vps's domain:
I think that means I didn't set up the nameservers correctly, but I'm not sure. I'm also not sure how to edit etc/hosts/...Your hostname (XXXXXXX.managemyvps.com) could not be resolved toan IP address. This means that /etc/hosts is not set up correctly,your Web Host Manager.
and/or there is no dns entry for XXXXXXXX.managemyvps.com. Please
be sure that the contents of /etc/hosts are configured correctly,
and also that there is a correct 'A' entry for the domain in the
zone file.
Some or all of these problems can be caused by /etc/resolv.conf
being setup incorrectly. Please check that 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' option under 'Dns Functions' in
When setting up the nameservers, it asked me for two different IPs but i only had one(the ip of the VPS) so I just put that in for ns2 as well. I think that may have been an issue. Also, the nameservers are ns1.managemyvps.com which at the time, I thought was correct as that's the url I use to get to my WHM area, so it made sense that they would handle nameservers, but now I am thinking that is not the case and I need to set up my own.
SUMMARY:
I need to know how to set up my nameservers, so that I can point a bunch of domains at my vps and have them go to the correct place. I tried to set it up already and probably have a bunch of wrong information in a bunch of wrong places.
I feel like this is something pretty standard but I seem to be looking in all the wrong places for the info.
Any help would be greatly appreciated as the company I got the VPS from offers no support.



LinkBack URL
About LinkBacks
Reply With Quote




