Adding a new NAS configuration 

The Add NAS Configuration page allows you to add a new NAS configuration for hosting organizations on it.

To add a new NAS configuration:

  1. On the left navigation panel, in the Windows Web Hosting section, click NAS Configuration.

  2. On the NAS Configuration Overview page, click Add NAS Server.

  3. On the Add NAS Configuration page, specify the following information:

  4. NAS name: Type a unique name for the NAS configuration, which the service provider and the resellers will use to host an organization in the directory specified in the Path on NAS server text box.

  5. NAS Server Name: Enter the Fully Qualified Domain Name (FQDN) or the NetBIOS name of the NAS server. For example, nasserver.ensim.com or NASSERVER.

  1. Click Add.

The new NAS configuration is displayed on the NAS Configuration Overview page.
 

Providing Full Trust permission to the NAS share folder

If you are going to use ASP.NET applications such as Power Tools on this NAS share folder, then you need to provide Full Trust to this NAS share folder on each hosting server used for the Windows Web Hosting service. This is required since by default ASP.NET applications do not have permissions to execute code residing on UNC paths. For more information about this issue, refer to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/THCMCh19.asp.

To provide Full Trust permission to the NAS share folder:

  1. Log in as the domain administrator to the hosting server used for the Windows Web Hosting service.

  2. Open a command window and change to the <Windows_dir>\Microsoft.NET\Framework\Version_number directory. If you have installed Windows on the C:\ drive, then change to the  C:\WINDOWS\Microsoft.NET\Framework\Version_number directory.

For ASP.NET 1.1, use v1.1.4322 and for ASP.NET 2.0, use v2.0.50727 for Version_number

  1. On the command line, run the following command:

  2. caspol -m -ag 1 -url <UNC_path_of_NAS_share_folder>\* FullTrust
    where <UNC_path_of_NAS_share_folder> refers to the UNC path of the share folder on the NAS server.

    For example, caspol -m -ag 1 -url \\nasserver1.com\WVHSHARE-11092005-162232\* FullTrust

  3. If you have more than one hosting server for the Windows Web Hosting service, repeat the above procedure on each hosting server.

The NAS share folder is provided Full Trust permission on all hosting servers used for the Windows Web Hosting service.

After configuring the NAS server, you can add an organization with NAS as the storage type. The organization's data will then be stored on the NAS server in the parent directory mentioned above.