Solved

virtual hosts in IIS  7.5

Posted on 2014-02-03
3
1,407 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
  • 2
3 Comments
 
LVL 78

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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…
Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

912 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now