Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have troubles with IIS7 host headers. I'd like to create a domain for managing mysql with phpmyadmin. I tried to configure with these settings without success.

enter image description here

enter image description here

The browser displays the localhost instead of the phpmyadmin page. Can anybody tell me how should I configure the IIS?

share|improve this question
I'm using IIS with PHP, and I found, that not the localhost page is displayed by every request, but the documentRoot setted in php.ini. :S – inf3rno Nov 22 '11 at 11:40
Hmm maybe fastCGI is not well configured ... – inf3rno Nov 22 '11 at 11:45
up vote 1 down vote accepted

Nah the problem was, that the documentRoot was overwritten by php.ini. I cleared the doc_root parameter from that file, and everything is working properly now.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.