I changed my hostname, rebooted and lost internet connection

view full story

http://unix.stackexchange.com – I used hostname NEWHOSTNAME and set a new hostname. Then I restarted, and tried accessing the internet and nothing happened. I checked the hostname and it was set to localhost.localdomain How can I reset my configurations so that I am again connected to the web? I'm running Red Hat Enterprise 6.0 (Santiago) Thanks in advance! -Matt EDIT: to change the hostname, I did: sudo hostname NEWHOSTNAME (HowTos)