1and1 Help Centre Categories

print article

Integrate Shared Storage on a 1&1 Cloud Server (IIS)

For Windows Servers 2012

Learn how to configure an IIS website that contains content saved on a shared storage. In this example, a new website and specific user are configured for this purpose. To configure the IIS website, proceed as follows:

Creating a User:
Step 1
Open the server manager.
Step 2
Select Computer Management from the Tools menu. Tools menu
Tools menu
Step 3
Click Local Users and Groups > Users.
Computer management menu
Computer management menu
Step 4
In the menu bar, click Action > New User.
Action menu
Action menu
Step 5
Enter the desired user name in the User Name field.
Step 6
In the Password field, enter your desired password and repeat it.
Step 7
Deactivate the option User must change password at next logon.
Step 8
Activate the option User cannot change password.
Step 9
Activate the option Password never expires. New User window
New User window
Step 10
Click Create.
The user will be created.
Step 11
Click Close.
Adding Shared Storage Access Data to the User Account and Administrator Account:
Step 1
Open the prompt.
Step 2
To allow the user to access the shared storage, enter the access data in the following format:
runas /user:usrsite1 "cmdkey /add:vid12345.pre1.lan
/user:pre1\uid12345 /pass:********"
Step 3
To allow the administrator to access the shared storage, enter the access data in the following format:
cmdkey /add:vid12345.pre1.lan /user:pre1\uid12345 /pass:********
Creating a Website in the Internet Information Services (IIS) Manager
Step 1
Open the Internet Information Services (IIS) Manager.
Step 2
In the left navigation bar, right-click the Sites node in the Connections section. Connections section
Connections section
Step 3
Click Add Website.
Step 4
In the Site name field, enter the appropriate site name. Add Website window
Add Website window
Step 5
Optional: Click Select.
Step 6
Optional: Select the application pool in the Application pool list. The name of the website and name of the selected application pool must be identical!
Step 7
Optional: Click OK.
Step 8
In the Physical path field, enter the CIFS path for the shared storage in the following format:
\\vid12345.pre1.lan\vid12345\wwwroot
Step 9
In the IP address list, select the IP address of your server. Add Website window
Add Website window
Step 10
Click OK.
The website has been configured and can be accessed using the IP address of the server. The shared storage is used as webspace.
Permitting Access to the Website Table of Contents

To permit access to the website table of contents, you have to configure Anonymous Authentication.

Step 1
Click the newly created website below Connections > Sites.
Step 2
Double-click Authenitcation.
Step 3
Right-click Anonynmous Authentication.
Step 4
Click Edit.
Authentication window
Authentication window

Step 5
Activate the Application pool identity option.
Step 6
Click OK.
Edit Credentials window
Edit Credentials window

The configured user is used as an application pool identity.

Configuring the Application Pool

If a new website has been created, a new application pool with the same name is created. To configure the new application pool, proceed as follows:

Step 1
In the left navigation bar, right-click the Application Pools node in the Connections section.
Step 2
Right-click the Application Pools node.
Step 3
Click Advanced Settings.
The Advanced Settings window opens.
Step 4
Click
next to the Identity entry.
The Application Pool Identity window opens.
Step 5
Activate the Custom account option.
Step 6
Click Set.
Application Pool Identity window
Application Pool Identity window
Step 7
Enter the user name of the account that you created.
Step 8
Enter the desired password and repeat it.
Step 9
Click OK.
Step 10
In the Advanced Settings window, click the cell next to the Load User Profile entry.
Step 11
Select the value True from the list and then click OK. Application Pool Identity window
Application Pool Identity window