?
Solved

How can I setup a new webstie in IIS 7?

Posted on 2012-03-20
6
Medium Priority
?
371 Views
Last Modified: 2012-06-22
Hi, In the Default website of IIS 7, I want to have a new site but not with its own domain.  Basically, the html files are store under wwwroot folder in a folder let's sway NewWeb.  In IIS 7 I see this folder under the Default website.  What steps do I need to do so that when enter in url http://www.defaultDomainName.com/NewWeb
this will bring up the default.html page in NewWeb folder?  Thank you.

I tried making that folder in IIS7, convert to an applidation, add virtual folder, assign its own app Pool but it's not not accessiable.  Here is the url, http://keckmed.usc.edu/msgm/
thank you.
0
Comment
Question by:lapucca
[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
6 Comments
 
LVL 3

Expert Comment

by:IT-Shrek
ID: 37744972
Hello,

here is a guide describing what you are trying to achieve:

Microsoft Guide

http://technet.microsoft.com/en-us/library/cc772350(v=ws.10).aspx

Non Microsoft Guide

http://learn.iis.net/page.aspx/762/create-a-web-site/

Please tell us if this is successful and if not, which steps do not work.

Shrek
0
 

Author Comment

by:lapucca
ID: 37745069
Hi Shrek,
Leaving now but will try later tonight and let you know.  Thanks.
0
 

Author Comment

by:lapucca
ID: 37745841
Hi Shrek,
I'm not creating a new website with new domain name.  I want to have a sub website living under the default website domain name.  The ref you emailed me is about creating a brand new site.  That is not what I need to do.  This new webiste, okay, maybe new directory with new html web pages would be more appropriate since it doesn't have its own domain name.  I hope I'm explaining this clear enough.   How can I set this up?  Thank you.
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
LVL 15

Expert Comment

by:pcsmitpra
ID: 37746387
It is not website but it is virtual directory, Small Microsoft Article for creating Virtual directory help you here: http://msdn.microsoft.com/en-us/library/bb763173.aspx
0
 
LVL 11

Accepted Solution

by:
Sanjay Santoki earned 2000 total points
ID: 37747534
Hello,

I would advise you to create a virtual directory (application) for sub website of your main domain so that the application works independently for this directory. To create virtual directory located the physical directory under your main website root follow the below simple steps;

Open IIS Manager -> Expand the website under which you would like to create Virtual directory -> Right Click on the source directory -> Convert to Application

Regards,
Sanjay Santoki
0
 

Author Comment

by:lapucca
ID: 37750303
Hi, I did add a Virtual directory and converted it to an application but I'm still getting error.  if i right click on the folder and select to browse the site it gives me the following error.  I don't want to brows the content.  i want it to display the html file that is there in the folder.  

However, it does work if I put in the name of the html file.  like this, http://keckmed.usc.edu/msgm/default.html
How can I set it up to display that html automatically when user enter this url?  http://keckmed.usc.edu/msgm

How can I fix this?  Thank you.

Server Error in Application "DEFAULT WEB SITE/MSGM"Internet Information Services 7.5
Error Summary
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory. Detailed Error Information
Module DirectoryListingModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x00000000
Requested URL http://keckmed.usc.edu:80/msgm/ 
Physical Path D:\inetpub\wwwroot\msgm\
Logon Method Anonymous
Logon User Anonymous
 Most likely causes:
•A default document is not configured for the requested URL, and directory browsing is not enabled on the server.
 Things you can try:
•If you do not want to enable directory browsing, ensure that a default document is configured and that the file exists.
•Enable directory browsing using IIS Manager.
1.Open IIS Manager.
2.In the Features view, double-click Directory Browsing.
3.On the Directory Browsing page, in the Actions pane, click Enable.
•Verify that the configuration/system.webServer/directoryBrowse@enabled attribute is set to true in the site or application configuration file.
 Links and More InformationThis error occurs when a document is not specified in the URL, no default document is specified for the Web site or application, and directory listing is not enabled for the Web site or application. This setting may be disabled on purpose to secure the contents of the server.
View more information »
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

777 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