Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm aware that modifying /etc/sysconfig/network can set a permanent hostname for my server. But I also want to set some alias for it, and make several clients able to resolve them, how can I achieve this?

/etc/hosts is just working for one local machine, I have to modify it for client machines separately, so it will not be an option. Is setting up a dns server the only way?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

Either distributing a hosts file or leveraging DNS is the only way to accomplish this.

share|improve this answer
    
Hmm, if it has to be. Thank you. –  Rufus Mar 7 '12 at 21:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.