To create a new Web site in Apache, you must set up a virtual host and configure the individual settings for the host. If you are using IIS, you can create a new Web site by translating the following terms to the IIS equivalents:| Apache term | IIS term |
|---|
| DocumentRoot | IIS Web Site Home Directory |
| ServerName | IIS Host Header |
| Listen | IIS IP Address and TCP Port |
To create a new Web site in IIS, follow these steps:- Log on to the Web server computer as an administrator.
- Click Start, point to Settings, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Internet Services Manager.
- Click Action, point to New, and then click Web Site.
- After the Web Site Creation Wizard starts, click Next.
- Type a description for the Web site.
This description is used internally to identify the Web site in Internet Services Manager only. - Select the IP address to use for the site.
If you select All (unassigned), the Web site is accessible on all interfaces and all configured IP addresses. - Type the TCP port number to publish the site on.
- Type the Host Header name (the real name that is used to access this site).
- Click Next.
- Either type the path to the folder that is holding the Web site documents or click Browseto select the folder, and then click Next.
- Select the access permissions for the Web site, and then click Next.
- Click Finish.
No comments:
Post a Comment