Ultradev Instance Tutorial: 2.3 Creating a Web site

Source: Internet
Author: User
Tags add access
web| Create | tutorials | site

Chapter II: Setting Up a database

Section III: Creating a Web site


Dynamic Web pages are run on the server side, Dreavweaver Ultradev support three kinds of dynamic applications, ASP, JSP, ColdFusion, here we use the most commonly used ASP as an example. I believe there are many friends of the operating system is Windows 2000, it is convenient to set up a Web site. Windows 9x friends to install a separate personal Web Server, do not repeat here, please find relevant information to study. Friends with Windows Professional The IIS service may not be installed by default, and can be installed in the Add-Remove program-〉 Add Windows Component to the Control Panel-〉.

1. Open Internet Services Manager. You can open it from the start-〉 Control Panel-〉 Administrative Tools-〉internet Service Manager, or from the start-〉 Program-〉 Administration Tools-〉internet Service Manager.



2. Create a new site. Select your computer name for Internet Information Services management, right-click-〉 new-〉web site



The Web site Creation Wizard will open, the first step is to enter a description of the Web site, any one can, here we named 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 page we created, the address is http://localhost/xxx.asp ... and if you already have a site that takes up 80 of the TCP port, you can switch to another , such as 9999, the access address becomes http://localhost:9999/xxx.asp. Host head without filling, with DNS settings, you can create their own virtual host, this is a digression:)



Next, select the directory where your Web site is located, which is where you will save the pages you create later. Click Browse to select the folder where you want to save the page. As pictured. Allow anonymous access to allow anyone to access your site, or the password, in order to debug the convenience of the program, at the same time there is no privacy to be confidential, we hook this option.


The next step is to ask what access you want to this web site. Read is a must, otherwise your HTML files and other non-ASP files can not see, because the ASP is run by the server side, for security reasons, this reading option should not be selected, here is not to consider these, directly selected up. Running the script is also required, otherwise our web application will not be applied to *_ ' others are not chosen by default. Then click Next, our site to create a complete!



After the site has been created, there is another place to explain. Generally we browse the page, only need to enter the URL of the site can open the homepage of the site, such as Http://www.163.net, as for the first page of the file name, this is what we are going to talk about. Right-click the Web site you just created, look at the properties, select the Document column, and we can see an option: Enable the default document. The mystery is right here. When you have a file named Default.htm or Default.asp in your Web site directory, Internet Information manager will think of it as the default document so that we can use http://localhost to open our home page directly. Other catalogs are the same, such as http://localhost/bbs/, which actually means http://localhost/bbs/default.htm or http://localhost/bbs/default.asp. For Windows systems, capitalization is not distinguishable, so the file name is Default.htm and DEFAULT. HTM is no different, unlike the UNIX operating system, but it is best to name the use of a unified style, do not have the case of the same phenomenon, such as Default.htm.




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.