I set a new hostname on my machine using:
sudo hostname NEWHOSTNAME
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)