Solved

virtual hosts in IIS  7.5

Posted on 2014-02-03
3
1,492 Views
Last Modified: 2014-02-06
I have IIS 7.5

I am trying to set up my computer to run websites in a tutorial...
That tutorial has four folders that needs to be configured as virtual hosts...  
c:\myfolder\mywebsite1
c:\myfolder\mywebsite2
c:\myfolder\mywebsite3
c:\myfolder\mywebsite4


In the tutorial they have asked to create four virtual hosts for those four folders in IIS 7.5.. I dont know how to do that...

All those folders are on my single machine... (So guess there is no requirement in virtual-hosting)

However, when i checked the tutorials, in the screenshots it says  http:\\mywebsite1
http:\\mywebsite2 , http:\\mywebsite3 , http:\\mywebsite4 
i.e. without the localhost or the server name... I cannot open the websites like http:\\mywebsite1 or http:\\mywebsite2 etc... i have to put http:\\localhost\mywebsite1 

The tutorials does not run by putting http://localhost/mywebsite1 ... how can i create websites like -
  http:\\mywebsite1 
http:\\mywebsite2 , http:\\mywebsite3 , http:\\mywebsite4 
so that i can run all my tutorials  


I tried using hosts file in windows folder but it did not work
how can i do that in IIS 7.5 ... please help
thanks a lot
0
Comment
Question by:ts84zs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 81

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 39831744
I created a short video for you to show how it works
http://www.youtube.com/watch?v=jMTY_56XXCU
1. create new websites in IIS
2. give each website its own unique hostname
3. edit your hosts file to reflect the hostname i.e. website1 127.0.0.1
4. Test Website by going to IIS and then use the browse Websitex on port 80
0
 

Author Comment

by:ts84zs
ID: 39832940
thanks so much

i will check it...
0
 

Author Closing Comment

by:ts84zs
ID: 39839884
thanks a lot that solved my problem
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question