Share via


How to: Create Remote IIS Web Sites

A remote IIS Web site is an Internet Information Services (IIS) Web application that is running on another computer. Visual Web Developer communicates with the Web site by using the HTTP protocol and FrontPage Server Extensions from Microsoft.

To create a remote IIS Web site requires the following:

  • The remote computer must be running the .NET Framework version 2.0.

  • The remote computer must have IIS version 5.0 or later installed and running.

  • ASP.NET must be enabled in IIS on the remote computer. For details, see the topic Enabling ASP.NET in the IIS documentation at IIS 6.0 Product Documentation.

  • FrontPage Server Extensions must be installed and enabled at the root level where you are creating the new Web site. For details, see Installing and Enabling Dynamic Content in the IIS documentation at IIS 6.0 Product Documentation.

  • You must have FrontPage administration or author permissions to create new folders and files on the remote computer under the root where you want the site to be. For details, see Using Roles to Manage User Rights in the IIS documentation at IIS 6.0 Product Documentation. You can launch the FrontPage Server Extensions administration Web page from within Visual Web Developer by using the Web Permissions command on the Website menu.

To open an existing site on the remote computer, the preceding must be true, and in addition:

  • FrontPage Server Extensions must be enabled for the Web site.

  • The site must be configured to use ASP.NET version 2.0. If it is not, when you open the site, Visual Web Developer will prompt you to reconfigure the site to use ASP.NET 2.0. Note that this is distinct from having ASP.NET 2.0 installed on the remote computer. Even if ASP.NET 2.0 is installed on the remote computer, an open site might be mapped to use an earlier version of ASP.NET.

  • ASP.NET must be enabled on IIS. For details, see the topic Enabling ASP.NET in the IIS documentation at IIS 6.0 Product Documentation.

To create a remote IIS Web site

  1. In Visual Web Developer, on the File menu click New Web Site.

  2. Under Visual Web Developer Installed Templates, select the template for the type of Web site you want to create.

  3. In the Location list, click HTTP.

  4. To create a new remote IIS Web site, in the location box, type the URL of the site that you want to create, using syntax such as the following:

    https://server/SiteName
    
  5. To create a remote IIS Web site that points to an existing IIS application on the remote server, do the following:

    1. Click Browse.

    2. In the Choose Location dialog box, click the Remote Site tab.

    3. Type the URL of the IIS application that you want to open.

    4. Click Open to return to the New Web Site dialog box.

  6. Click OK.

    Note

    If the path you specified already contains files, Visual Web Developer prompts you to specify a different location.

    Visual Web Developer creates the site, opens a default page in the page designer, and displays the folder in Solution Explorer.

See Also

Concepts

Remote IIS Web Sites