It happen for beginners for those who are new to IIS and Windows XP.
The funny thing is you need not to download the IIS from Internet if you have Windows XP installation disc.
Please follow the instructions to install.
1. Get IIS 5.1 And to get this Windows Ad-on you must have Windows XP Professional.
2. To get this program on your computer, since it is not automatically installed, go to the Control Panel.
3. Next click on Add/Remove Programs.
Finally click on Add/Remove Windows Components and select "Internet Information Services" (you have to have the XP install CD to install this service).
4. Once it has completely installed you will have to open it (this may be tricky because it doesn't include any shortcuts on the desktop or in the start menu).
5. First go to the Control Panel again and click "Performance and Maintenance" and then navigate to "Administrative Tools".
6. Now you should see "Internet Information Services"; open the program up (You may create a shortcut on the desktop so it is easier to find).
If it opens then congratulations, you have successfully installed it. Now to set it up properly read on...
7. In the left panel select "Websites".
Here you will see if it is running or not, the local IP Address it is configured on, and the current port it is using (Port 80 is default, however you may need to changed this because most ISPs [Internet Service Provider] block that port).
8. Now right click on "Default Web site" and click properties, then go to the "Web site" tab. Change the IP Address to what your local IP Address is if it is not already set (to find out what your local address is click "start", then "run", then type in "cmd", then type in "ipconfig". Now look at the address beside "IP Address" and that is what it should be in IIS).
9.Now decide what port you want to use (anything above 1024 should be fine). You can leave it at port 80 but only if your ISP doesn't block it. If you do decide to changed the port then note than whenever you navigate to your website then your syntax must be "domain.com:portnumber".
TRY This:- Open Internet Explorer and type
localhost
in the URL address space and press ENTER.
If it opens two windows that means your IIS is configured successfully. ENJOY.
10. After you have decided on the port you need to open the port in your router. To do this type in you gateway in a browser and follow the steps there.
11. Next go to the "Home Directory" tab, and select a local path. You should use "driveletterofWindows:\Inetpub\wwwroot". This folder was automatically created upon installation.
Now go to the "Documents" tab. Here you can set a default document to redirect to if no document is typed into the url. To add a new document to the list click "Add" and then type in the name (you do not need the path but the file must be in the home directory that you previously chose).
12.Next close the properties window and right click on "Default Web Site" again. This time rollover "New" and then click "Virtual Directory" (you don't have to do this but it is a good practice). Select a logical name for your virtual directory such as "root" or something similar as to avoid confusion.
13. Now expand "Default Web Site" and you should see the name of your virtual directory. Expand the directory and you should see all of the files in there that are in your "Home Directory". Relax, you are almost done.
14. Once again, right click on "Default Web Site", this time rollover "All Tasks" and click on "Permissions Wizard"
Click next.
Select "Select new security settings from template".
Click next.
Select "Public Site". Now just keep clicking next until it is finished.
Now test to see if your site works.
Open up your favorite browser and type into the Location Bar:
http:// localIPaddress:port/virtualdirectory/ or type in :
http:// computername:port/virtualdirectory/ (if you did not change the port from port 80 then type in:
http:// computername/virtualdirectory/)
To access your site from another location that is not on your network then type:
http:// externalIPaddress:port/virtualdirectory/ (once again if you did not change the port from port 80 then type:
http:// externalIPaddress/virtualdirectory/)
15. To find out your external IP Address
Click on START -> RUN
and type
cmd and press ENTER
in the command prompt type IPCONFIG and press ENTER.
It will display the IP address assigned to your computer. If nothing is assigned then by default is 127.0.0.1( that means localhost).
FOR FURTHER help feel free to write me.
>> Stay informed about: IIS 6 on Windows XP SP2