Only works as localhost on win server 2k3

I’ve installed OpenFire on Windows Server 2k3 using MSSQL as the db backend. After running the setup, the only way to access the admin console is if xmpp.domain (Server Name) is set as localhost. It fails if I set it to be the host name of the machine it’s installed on. I’ve tried adding that host name entry in to the hosts file, and having it map to, but no luck. The moment I set that value to localhost, though, everything works great. I can even access the admin console from any machine on the network using the proper hostname. Is there any way to solve this issue?