changing host name to IP