nginx doesn't allow hostname as virtual server

I'd like to have phpmyadmin install on a virtual server using the hostname as the domain. If hostname = I cannot install phpmyadmin on This is a big limitation for my setup.



It appears that just PHP doesn't function when the virtual server domain is the same as the hostname. When loading up applications like phpmyadmin or other php files it simply shows a bad gateway message. However, static files like css are load just fine.