Fedora Linux Support Community & Resources Center
  #1  
Old 8th December 2011, 03:08 AM
cdgary Offline
Registered User
 
Join Date: Dec 2011
Posts: 15
macossafari
Making Changes to the host file

When I make changes to the host file do I need to logout or reboot in order for my changes to take effect. For example my current host file has the following:

127.0.0.1 localhost.localdomain localhost

I'm trying to change the alias to node1 by doing the following

127.0.0.1 node1.localdomain node1

Is this the correct way to change my alias and if so how to I get the changes to take effect?
Reply With Quote
  #2  
Old 8th December 2011, 03:27 AM
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 7,320
linuxfirefox
Re: Making Changes to the host file

You should not remove the localhost.localdomain and localhost entires. There are quite a few applications that depend on those being in there.

Just add your new entries instead of replacing the old one..

Code:
127.0.0.1 localhost.localdomain localhost node1.localdomain node1
And yes, you may need to reboot for the changes to be effective.
Reply With Quote
Reply

Tags
file, host, making

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making .iso file from fedora 10 dvd cola Using Fedora 5 3rd May 2009 03:45 PM
FC6 /etc/host file needs attention... Zigzagcom Servers & Networking 10 23rd October 2006 07:53 AM
Making DVD from VOB file mpolo Using Fedora 0 13th October 2005 11:01 AM
Host file in Linux marion Using Fedora 3 17th June 2005 10:13 PM
host file? Sunnz Servers & Networking 6 20th May 2005 08:52 AM


Current GMT-time: 13:08 (Wednesday, 27-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat