Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a problem with my VPS setup. My main site is setup and now I have all the files placed in there but couldn't open the site. One thing I noticed awakrdly is when I do the

host miramichionline.com

It gives me an IP which is not the IP of the name servers(ns1.spry.com and ns2.spry.com).

Do we need to have the NS and A records with the same IP address for the site to work properly?

share|improve this question
    
Can you post the IP address which your A record points to? It should normally be the same as the IP address of your web server. You can probably find the right IP address in your Cpanel. –  Shannon Wagner Feb 5 '13 at 3:53
    
My A record is pointed to 209.59.212.85 –  Karthik Bonthu Feb 5 '13 at 4:16
    
I just checked all my other domains parked on the same server. They seems to be working but the main domain is not working. Its weird al the other sites are working expect the main site. Could anyone guess what would be the problem? –  Karthik Bonthu Feb 5 '13 at 4:19
    
When I try to visit miramichionline.com, I see the following text: "google-site-verification: googlebc0b184977f17083.html". I am assuming this is a Google site verification file that you uploaded. It looks to me like the browser is getting to your web server but then just not loading the application you expect - does that sound like a correct summary of what is happening? –  Shannon Wagner Feb 5 '13 at 11:38
    
Now everything is working fine. I just messed up with my name servers. I just realised it. Thanks for the help Shannon. –  Karthik Bonthu Feb 5 '13 at 14:26
add comment

1 Answer

You need to point the A-records for your domain-name towards the webserver-IP that is hosting the site. Nameservers should also be configured, but since almost every domain-hoster comes with nameservers pre-installed, I doubt that that is the problem.

Maybe you can check what you get when you manually override the DNS-servers. http://en.wikipedia.org/wiki/Hosts_(file)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.