Creating the TropicalGreen Web Application
Next, let’s create and configure a web application for the Tropical Green website.
1. Open Internet Services Manager (point to Start | Administrative Tools | Internet Information Services).
2. Expand the nodes COMPUTERNAME (local computer) | Web Sites.
3. Right-click on Default Web Site and select New Virtual Directory....
4. When the Virtual Directory Creation Wizard opens, click Next.
5. For the Virtual Directory alias, enter TropicalGreen and click Next.
6. On the next page, click Browse and navigate to the location of the
TropicalGreen
directory extracted earlier, something likeC:\1167_FinalCode\TropicalGreen\
. Click Next.7. Next, choose to allow the following permissions:
Read
Run scripts (such as ASP)
8. Click Next.
9. Click Finish.
10. Right-click on the newly created TropicalGreen virtual directory and click Properties.
11. Select the Directory Security tab, and in the Anonymous access and authentication control section, click Edit....
12. Ensure that the Anonymous access option is checked.
13. Close all open dialogs.
The TropicalGreen virtual directory has been successfully created. However, in order for the site to work correctly, we need to add the CMS virtual directory.
Adding the CMS Virtual Directory
The CMS virtual directory contains the MCMS files that are required by Web Author. It is normally added by the MCMS web project creation wizard when creating a project with Visual Studio. However, since we have downloaded the project and created the virtual directory manually, we need to add the CMS virtual directory ourselves.
1. With Internet Services Manager open, right-click on the newly created TropicalGreen virtual directory and select New | Virtual Directory....
2. This time, enter an alias of
CMS
, and for the website content directory, chooseMicrosoft Content Management Server\Server\IIS_CMS\
.3. In the Access Permissions dialog, check Read and Run scripts (such as ASP). Click Next, and then Finish.
4. Now we need to configure the CMS virtual directory to use Tropical Green’s application domain. Right-click on the new CMS virtual directory, and select Properties.
In the Virtual Directory tab, look for the Application Settings section, and click Remove.
5. Click OK to close the Properties dialog.