I can't help with your overall problem but my understanding is that
hostname -i will return the IP address of your host, not it's name. The information comes from the
/etc/hosts file I believe.
hostname by itself returns your host name
hostname --fqdn returns the long version.
Your hostname is stored in
/etc/HOSTNAME and may require a reboot before a change becomes effective if I remember correctly.
See the man pages for hostname.
However I don't know if any of this has to do with your problem.
I just didn't want you going down the wrong path by misinterpreting your hostname command response.
EDIT: I wonder if your ISP or modem requires some identification service that you're not running (auth). If the message is on a browser then it may be a cookie issue or a limitation that you can't get around. Hopefully others more knowledgeable will respond.