Quantcast

How to Create a Remote IIS Web Site

Get the WebProNews Newsletter:
[ Technology]

This article is an excerpt from the book: Murach’s ASP.NET 2.0 Web Programming with C# 2005.

A remote web site is similar to a local web site except that a remote web site resides on a computer that you have access to over a LAN.

To create this type of web site, FrontPage Server Extensions must be installed on the remote computer. Then, you can just select the HTTP location option and enter the location of the web site as shown in figure 4-2. Here, a web site named Ch03Cart is being created in a directory named ASPNET2005 on a server named mma1.

Although you use the same techniques to work with a remote web site as you use to work with a local web site, you should realize that the permissions for a remote web site may not be set the way you want. For example, suppose you create a web site that writes to a text file that’s stored in the App_Data folder of the site. To do that, the web site must have write permissions on that folder. By default, though, a remote web site is given only read permissions. Because of that, you’ll need to have the system administrator assign the appropriate permissions to the web site.

The dialog box for creating a remote IIS web site

Description

To create a remote web site, select HTTP from the Location drop-down list. Then, enter the URL of the web site you want to create.

You can also create a remote web site by clicking the Browse button and then using the Choose Location dialog box that’s displayed for a remote site. However, this dialog box doesn’t provide any additional options.

By default, a web application that you create on a remote server doesn’t have the permissions needed to change files in the web site at runtime. If an application needs to change a file, then, you’ll need to contact the system administrator about giving it the appropriate permissions.

Visual Studio communicates with a web site on a remote server using HTTP and FrontPage Server Extensions. Because of that, FPSE must be installed on the remote server. For information on how to install FPSE, see appendix A.

Add to Del.icio.us | Digg | Yahoo! My Web | Furl

Joel Murach has been writing and editing for more than 10 years. During that time, he sharpened his programming skills as a contract programmer in San Francisco and his instructional skills as a trainer for HarperCollins Publishing. He always brings a vision to his projects that leads to improved effectiveness for his readers.

How to Create a Remote IIS Web Site
About Joel Murach
Joel Murach has been writing and editing for more than 10 years. During that time, he sharpened his programming skills as a contract programmer in San Francisco and his instructional skills as a trainer for HarperCollins Publishing. He always brings a vision to his projects that leads to improved effectiveness for his readers. WebProNews Writer
Top Rated White Papers and Resources
  • Guest

    we cant see the images