H@L0_F00 Posted December 15, 2008 Share Posted December 15, 2008 I can't ping google.com from my ubuntu box that I'm sshed into. I pinged it from my WinXP box, got the ip, and then I pinged that ip from ubuntu which worked fine no hostnames can be pinged but pinging their ip works fine which might be a real problem because I planning on setting up Apache on it :( anybody have any idea what could be wrong and/or how I could go about fixing it? Thanks in advance ;) Quote Link to comment Share on other sites More sharing options...
ssmithisme Posted December 15, 2008 Share Posted December 15, 2008 If you are going to use it as a webserver you dont really need to resolve hostnames on it. But its some sort of DNS error. Is there anything that could be messing with DNS servers. Is the IP on ubuntu static and did you specify the correct DNS server to use? Quote Link to comment Share on other sites More sharing options...
H@L0_F00 Posted December 15, 2008 Author Share Posted December 15, 2008 yes it's static. how do i set the DNS server? is that the same as nameserver? I've red about nameservers but haven't figured out how to config or fix it <_< Quote Link to comment Share on other sites More sharing options...
ssmithisme Posted December 15, 2008 Share Posted December 15, 2008 You say the IP address is static and i assume you dont have a GUI to configure network settings. You can use your preffered text editor but i am going to say "nano" for this. You will edit your "/etc/resolv.conf" file to change the DNS server sudo nano /etc/resolv.conf There should be entries there called nameserver. Change them to the IP address of you DNS server(s) EXAMPLE: nameserver XXX.XXX.XXX.XX nameserver XXX.XXX.XXX.XX Once you save the file you should be good to go Quote Link to comment Share on other sites More sharing options...
H@L0_F00 Posted December 15, 2008 Author Share Posted December 15, 2008 haha after you told me it was DNS i googled it and found out what to do and it was exactly what you said lol thanks alot though ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.