changing hostname on Solaris 8 ?

hi, does anyone had experience changing hostname on Solaris 8 ? any idea how is it done ?

How to Change a Hostname on Solaris

To change the hostname on a Solaris system, you should edit all of these files:

/etc/hosts
/etc/nodename
/etc/hostname.*
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts
/etc/inet/ipnodes

You should then reboot the server to test your changes and ensure that they operate correctly.

or run the sys-unconfig command

thanks ! can domain name be changed together with the hostname as well ?

Modify /etc/defaultdomain