My hostname is NOT resolving correctly
Last night I installed Apache,Mysql and php in my Fedora box for testing/studying purposes. I changed my hostname to "fidel", but when I type fidel at the browser it takes me to a wiki page about fidel castro. How do I resolve this? Do I need to setup a DNS server also? thanks
|
you have no dns. the client isn't going to magically know what the server is called. if you want a simple dns implementation, i'd strignly recommend dnsmasq for a 2 minute setup.
|
You can edit /etc/hosts and add the IP/hostname there.
Dave |
I'm looking at it:
# Do not remove the following line, or various programs # that require network functionality will fail. ::1 localhost.localdomain localhost 127.0.0.1 localhost Can you give me an example of how should I edit this? thanks! |
Quote:
|
Thanks for the info. unSpawn! I will try this tonight.
|
All times are GMT -5. The time now is 06:38 AM. |