I am trying to change the hostname from "localhost" to "systemhost" (user-defined names).
I was actually running a servlet program where I suddenly got a question, if it is possible to change the hostname from localhost (default) to systemhost (user-defined)
What I have done so far:
server.xml
file content from localhost to systemhost as I was running servlet program so I thought that this change can work along.C:\Windows\System32\drivers\etc
and changed the hosts file. Replaced the word localhost to systemhost.After doing all these no success. I wonder, if it is really possible to change?
Any help or suggestions?
Thanks!
uncomment that line by removing #
.
it should be:
127.0.0.1 systemhost
::1 systemhost