Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

virtual hosts in IIS  7.5

Posted on 2014-02-03
3
Medium Priority
?
1,589 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 83

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

705 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