Solved

virtual hosts in IIS  7.5

Posted on 2014-02-03
3
1,534 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 82

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

 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

Question has a verified solution.

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

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

636 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