Till now I was creating website in my local IIS 7.5 server like following way.

- Sites
    - AProjects (created this website under Sites & assigned IP address: & Port: 101)
        - websitename1
        - websitename2
        - ... so on

For each website I created virtual directory under Sites >> All FTP Site

So I was accessing each site using assigned IP address - Port like this


But now I want to create websites directly under Sites in IIS7.5 like this.

- Sites
    - websitename1 (assigned IP address: & Port: 201) 
    - websitename1 (assigned IP address: & Port: 202)
    - ... so on

Now I can access each website like this

But I want to access it like in this way. http://websitename1/user/index.php or something similar to this so it can be more readable.

I read many articles in IIS forum but could not get proper answer. What changes I need to do to get above desired result? Please help...


Configure all of the sites to use the same ip address ( and port (80) and use host headers (Host Name) to differentiate between them.

  • I did it as per your guidance. Then I tried to browse website from 'Browse Web Site' option in IIS manager right panel. But it is giving error 'Internet Explorer cannot display the webpage' in IE. Web address in navigation bar is like this 'mysamplesite:80' – K Ahir Nov 14 '14 at 4:02
  • do you have the names set up in your DNS or in your hosts file? If not, you need to. The names have to resolve to the ip address in order to browse by name. – joeqwerty Nov 14 '14 at 4:33
  • I am really sorry but I was totally unaware about it. Can you just provide me tutorial / help link so I can read and implement it. Thank you very much. – K Ahir Nov 14 '14 at 4:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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