How to establish ASP.net site _ practical skills

Source: Internet
Author: User
Tags ftp site website ip

In fact, for the establishment of ASP.net site small set just beginning is also confused, after the Internet to find information on the collation, the following to share with you.

1. Set up site dedicated users (new two sites dedicated users, hebcai.com subordinate to the Guests group, hebcai.com _WPG is subordinate to IIS_WPG (asp.net dedicated users).

(1) from the "My Computer" right-click menu, choose Manage, open Computer Management, select users from the local user's group, and select New User from the right-click menu in the Right List window. Create a new user name of "hebcai.com" and set a complex password for it, select the "User Cannot change password" and "Password never Expires" two options, and then click OK.

(2) Use the same method to establish "HEBCAI.COM_WPG" user.

(3) in the "hebcai.com" right-click menu, select Properties, click Delete on the default Users on the Affiliate tab. Then click the Add button, enter guests in the Enter object name to select in the Select Group dialog box, and click OK.

(4) in the "HEBCAI.COM_WPG" right-click menu, select Properties, click the Delete button on the default Users on the Affiliate tab. Then click the Add button, enter IIS_WPG in the Enter object name to select in the Select Group dialog box, and click OK.

2. Set the site private folder properties

(1) Establishment of the site-specific folder d:web\hebcai.com.

(2) Select the Properties command in the right health menu of "hebcai.com" and select the Security tab in the Hebcai.com Properties dialog box.

(3) Click the "Add" button, enter "HEBCAI.COM;HEBCAI.COM_WPG" in "Enter object name to select", click "OK" button.

(4) Select "hebcai.com" user, select "Modify, read and run, List folder directory, read, write", click the "Apply" button.

(5) Set the properties of the "HEBCAI.COM_WPG" user in the same way.

(6) Click the OK button to close the Hebcai.com Properties dialog box.

3. Set up an FTP site to isolate users, and establish a dedicated virtual directory for hebcai.com.

(1) Right click on "FTP Site", select "New-FTP" site, pop-up Welcome interface, click "Next" button to continue.

(2) Enter the site description "hebcai.com" and click "Next" button to continue.

(3) Set the IP and port number, such as IP 192.168.5.254, the port number is 21, and click the Next button to continue.

(4) Select Isolate user, click Next button to continue.

(5) Select the FTP main path as D:\WEB and click Next to continue.

(6) Set FTP permissions, check "read" and "write" two, click "Next" button to continue.

(7) Click "Finish" to establish the FTP site successfully. and select New, virtual directory from the right-click menu and follow the wizard settings.

It is important to note that the "read" and "write" items must be checked in the virtual Directory access permission.

4. Establish a site-specific application pool

(1) Select New-Application pool in the application pool right-click menu.

(2) In the Add New Application Pool dialog box, enter the application pool ID "hebcai.com", and click the OK button.

(3) Select "Properties" in the right key menu of the application pool "hebcai.com".

(4) In the Hebcai.com Properties dialog box, select the Identification tab, select Configure, enter the username "HEBCAI.COM_WPG" and the corresponding password, and click OK. Once you have entered your password again, click the OK button again.

5. New Web site

(1) in the "website" right-click menu, choose New-site, pop-up welcome interface, click the Next button to continue.

(2) Site Description: hebcai.com, click "Next" to continue.

(3) The website IP is "192.168". 5.254 ", TCP port is 80, host header is" www.hebcai.com ", click" Next "button to continue.

(4) The home directory path selects "D:\Web\hebcai.com" and clicks the Next button to continue.

(5) Website access rights must check "read, run script such as (ASP)", click "Next" button to continue.

(6) Click the "Finish" button to successfully establish the site.

(7) In the Web site "hebcai.com" Right-click menu, select the "Properties" command, on the Directory Security tab, click the Edit button. In the Authentication Method dialog box, enter the username "hebcai.com" and the appropriate password, click OK, and then click the OK button again after you enter the password again.

(8) In the Home Directory tab of the Hebcai.com Properties dialog box, the application pool selects "hebcai.com".

(9) Click "OK" button to complete the Web site settings

6. Select the local computer, such as the Web local computer, and right-click all tasks to save configuration to disk, and you will be prompted to save successfully.

With the above setup, the server can support vs 2008 asp.net, and the security is greatly improved.

Above is to tell you how to build a asp.net site of the detailed process, I hope to help you learn.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.