You can run sys-unconfig to re-setup IP address, hostname of Sun Solaris. This is the most truly way to change IP and hostname. You can sure your apps will run after change IP and hostname.
When you install Solari Operating Environment via PC console. If you choose XTERM, you will have nice screen to install