HostOnNet Blog

Change Hostname of FreeBSD Server

Looking for Linux Server Admin or WordPress Expert? We can help.

To change your hostname to example

Run the command ‘hostname’
Edit the file /etc/hosts
Edit the file /etc/rc.conf

You can see hostname of a FreeBSD server with command

server22# hostname

Posted in FreeBSD. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.