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 = abc.domain.com I cannot install phpmyadmin on abc.domain.com. This is a big limitation for my setup.

Status: 
Active

Comments

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.