Hi, Well, I seem to be having DNS issues with my VPS, and I can't seem to get it figured out. From SSH, I can only ping an IP address, not a host name. My nameservers in resolv.conf are nameserver 66.90.68.25 nameserver 66.90.68.26 I have changed these to different nameservers, and that solved my issue of only pinging ip addresses, but my sites are still not working. When restarting apache, I get this httpd: Could not reliably determine the server's fully qualified domain name, using 67.23.224.223 for ServerName [Sat Mar 13 10:32:28 2010] [warn] NameVirtualHost 67.23.224.223:80 has no VirtualHosts [Sat Mar 13 10:32:28 2010] [warn] NameVirtualHost 67.23.224.223:443 has no VirtualHosts The ip address 67.23.224.223 is the one that I was assigned for my vps. I am sharing this IP with 10 domains, which wasn't a problem before, so I don't think that is the problem now. Here is the InToDNS for a few of my domains. http://www.intodns.com/ultimatedogtrainingrevealed.com http://www.intodns.com/readwithdots.com http://www.intodns.com/greatarticlesite.com http://www.intodns.com/checkbooktogo.com Running CentOS 5.4 with Apache 2.2.3 Any assistance would be greatly appreciated. Thanks, Michael
Do you have a firewall running? i would suggest you add these nameservers to the top of your resolve.conf: nameserver 208.67.220.220 nameserver 208.67.222.222 nameserver 8.8.8.8 nameserver 8.8.4.4 Those are OpenDNS and Google public name servers. What do you have listed as your hostname? cat /etc/hosts It sounds like things are DNS related for sure.
Hi, I do not think i have a fire wall. nameservers are updated to what you suggested. /etc/hosts shows this 127.0.0.1 localhost.localdomain localhost # Auto-generated hostname. Please do not remove this comment. 67.23.224.223 servermi Code (markup): Thanks, Michael
You need to give your server a fully qualified domain name. Take one of the domains you have hosted and change your /etc/hosts to suit: 127.0.0.1 localhost.localdomain localhost # Auto-generated hostname. Please do not remove this comment. 67.23.224.223 servermi.domain.com servermi Code (markup): Do you use a control panel with this server? If so, you may want to use that to make the changes as needed ("# Auto-generated hostname. Please do not remove this comment")
Thanks, I changed the /etc/hosts like you suggested, it now reads: 127.0.0.1 localhost.localdomain localhost # Auto-generated hostname. Please do not remove this comment. 67.23.224.223 servermi.michaelbaldwin.net servermi Code (markup): i have Kloxo CP, but i understand it isn't the most secure, so i am trying to learn to do it all without the CP. Thanks, Michael
Specify localhost and 127.0.0.1. This is what my /etc/hosts looks like 127.0.0.1 vps.example.com vps localhost localhost.localdomain do you run your own dns server like bind? i think the whole dns setup is done incorrectly. You have to specify SOA record and nameserver IPs properly. Read this guide on troubleshooting dns: http://corpocrat.com/2009/10/01/troubleshooting-common-dns-misconfiguration-errors/
I have DJBDNS, not Bind installed. I could try changing that out, think it will make a difference? Michael
Hi. Installing Bind has seem to have done the trick. Not sure why it would have stopped working all of a sudden with DJBDNS, but it is fixed now it seems. Thanks for everyones assistance, I do really appreciate it. Michael