Chapter 2: Setting up the database
Section 3: Creating a Web Site
Dynamic web pages require server-side interpretation and operation. Dreamweaver Ultradev supports three dynamic applications, ASP, JSP, and ColdFusion. Here we use the most commonly used ASP as an example. I believe that many of my friends have Windows 2000 as their operating system, and can easily set up a Web site. Friends who use Windows 9x will need to install Personal Web Server separately. I won’t go into details here. Please find relevant information to research. Friends who use Windows 2000 Professional may not have the IIS service installed by default. You can install it in Control Panel -> Add and Remove Programs -> Add Windows Components.
1. Open Internet Services Manager. It can be opened from Start->Control Panel->Administrative Tools->Internet Service Manager, or it can be opened from Start->Programs->Administrative Tools->Internet Service Manager.
2. Create a new site. Select the computer name managed by your Internet Information Services, right-click -> New -> Web site
The Web site creation wizard will open. The first step is to enter a description for the Web site. You can choose any one. Here we name it UseUltraDev, and then click Next:
This step is to specify the IP address and port for your Web site, using its default value, so that when we want to browse the web page we created, the address is http://localhost/xxx.asp..., if you have There is a site that occupies Tcp port 80. You can change it to another one, such as 9999, and the access address becomes http://localhost:9999/xxx.asp. There is no need to fill in the host header. If you match the DNS settings, you can create your own virtual host. This is off topic :)
In the next step, select the directory where your Web site is located, which is where the web pages you create in the future will be saved. Click Browse to select the folder where you want to save the web page. As shown in the picture. Allowing anonymous access allows anyone to access your site, otherwise a password is required. For the convenience of debugging the program, and at the same time there is no privacy to keep, we will check this option.
The next step is to ask you what access rights you want to the Web site. Reading is necessary, otherwise your html files and other non-ASP files will not be visible, because ASP is interpreted and run by the server. For security reasons, this reading option should not be selected. There is no need to think about these here, just choose it. It is also necessary to run the script, otherwise our web application will not be able to be used *_' For others, use the default and do not select it. Click Next and our site creation is complete!
After the site is created, there is still one point that needs to be explained. Generally, when we browse the web, we only need to enter the URL of the website to open the homepage of the website, such as http://www.163.net. As for the file name of the homepage, this is what we are going to talk about here. Right-click the Web site you just created, view properties, select the Document column, and we can see an option: Enable default document. The secret is here. When there is a file named default.htm or default.asp in your Web site directory, Internet Information Manager will consider it as the default document, so we can use http://localhost to directly open our homepage. The same goes for other directories, such as http://localhost/bbs/ which actually means http://localhost/bbs/default.htm or http://localhost/bbs/default.asp. For Windows systems, there is no distinction between upper and lower case, so there is no difference between the file names of default.htm and DEFAULT.HTM. Unlike the UNIX operating system, it is best to use a unified naming style and not have both upper and lower case names. Phenomenon, such as Default.htm.