Setting Up Microsoft IIS To Host Your Website
I've been using Microsoft IIS for a number of years to host my sites, and to perform my job. IIS comes with Microsoft for Free basically. You can actually set-up Microsoft IIS on your Home Windows computer to host a single domain or multiple, depending on what version Windows you have. Typically, the professional edition allows for the multiple domains, and not the Home based version that comes with most computers purchased today at places such as Best Buy, Dell, etc. The server edition can host multiple domains on one server.
If you are trying to do this at home on your home computer with cable or dsl connection, it can be done, but there's more to the set-up, due to the dynamic IP configuration that your cable or dsl company is providing. I've used no-ip.com to be able to host from home. They have a pretty good solution that monitors your home IP, and will adjust the settings so that your website can be hosted at home and stay up, even when your cable or dsl company changes the IP.
Typically, when IIS is installed, it set's up a folder on your hard called Inetpub. Under this folder there is another folder called wwwroot. You can set-up your website under this folder, or you can create another folder on your hard drive to place your content. I normally create another folder called DOMAINS on my hard drive. Because I'm hosting multiple sites, I will have sub folders under DOMAINS for each site.
You can have multiple sites, using a single IP. This is done by using Host Header value, under the Advance tab.
To Configure IIS to host and point to your website.
- Click Start, click on Settings, and then click Control Panel. (You can also right click on "My Computer" icon, and click on Manage, Click on the plus sign to expand the menu under Services and Applications, than click on the plus sign to expand the menu for Internet Information Services and than right click on Web Sites and select New and Web Site.)
- 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, which in most cases is 80, or 443 for a secure site with SSL certificate installed.
- 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 Browse to select the folder, and then click Next.
- Select the access permissions for the Web site, and then click Next.
- Click Finish.