How to Configure IIS on Windows XP Pro (with Pictures)

Table of contents:

How to Configure IIS on Windows XP Pro (with Pictures)
How to Configure IIS on Windows XP Pro (with Pictures)
Anonim

IIS stands for Internet Information Services. IIS is a webserver that provides access to the web pages it contains. IIS is similar to Apache, except that it is easier to use. In fact, setting up IIS for the first time is easier than many think.

Steps

Step 1. Install IIS 5.1

This is a Windows add-on available on Windows XP or Windows XP Media Center

  • Open the Control Panel from the Start menu

    Configure IIS for Windows XP Pro Step 1Bullet1
    Configure IIS for Windows XP Pro Step 1Bullet1
  • Click on Add or Remove Programs

    Configure IIS for Windows XP Pro Step 1Bullet2
    Configure IIS for Windows XP Pro Step 1Bullet2
  • Click on Add / Remove Windows Components

    Configure IIS for Windows XP Pro Step 1Bullet3
    Configure IIS for Windows XP Pro Step 1Bullet3
  • Select Internet Information Services from the Windows Components wizard.

    Configure IIS for Windows XP Pro Step 1Bullet4
    Configure IIS for Windows XP Pro Step 1Bullet4
  • Select Next. The wizard will ask you to insert the Windows installation disc.

    Configure IIS for Windows XP Pro Step 1Bullet5
    Configure IIS for Windows XP Pro Step 1Bullet5
  • IIS 5.1 will be installed.

    Configure IIS for Windows XP Pro Step 1Bullet6
    Configure IIS for Windows XP Pro Step 1Bullet6

Step 2. Once fully installed you will need to open it (which may be difficult for the novice user, since there are no shortcuts on the desktop or in the start menu)

  • First of all, go back to the Control Panel and click on Performance and Maintenance and click on Administrative Tools - on Service Pack 3, click directly on "Administrative Tools".

    Configure IIS for Windows XP Pro Step 2Bullet1
    Configure IIS for Windows XP Pro Step 2Bullet1
  • You should now see "Internet Information Services". Open the program (you can create a desktop shortcut so it is easier to find in the future).

    Configure IIS for Windows XP Pro Step 2Bullet2
    Configure IIS for Windows XP Pro Step 2Bullet2
Configure IIS for Windows XP Pro Step 3
Configure IIS for Windows XP Pro Step 3

Step 3. If the program opens, congratulations, you have successfully installed it

Now, read on to set it up correctly.

Configure IIS for Windows XP Pro Step 4
Configure IIS for Windows XP Pro Step 4

Step 4. In the left panel select "Websites"

Configure IIS for Windows XP Pro Step 5
Configure IIS for Windows XP Pro Step 5

Step 5. Here you can check if the server is online or not, the IP address and the port it is using (port 80 is the default port, but you can change it if you need it

Configure IIS for Windows XP Pro Step 6
Configure IIS for Windows XP Pro Step 6

Step 6. Now, right click on "Default Website" and click on properties, then on the "Website" tab

Change the IP address by entering your local address, if it is not already set as the setting (to find out your local address, click on Start, then Run, type cmd, press Enter and type "ipconfig". Look at the indicated address to “IP Address.” This is the address you should enter on IIS.

Configure IIS for Windows XP Pro Step 7
Configure IIS for Windows XP Pro Step 7

Step 7. Now, you will need to decide which port to use (any port above 1024 is fine)

You can leave port 80, but only if your Internet Service Provider (ISP) doesn't block it. If you decide to change the port, please note that all users of your website will need to type "domain.com:portnumber" to access your site.

Configure IIS for Windows XP Pro Step 8
Configure IIS for Windows XP Pro Step 8

Step 8. At this point, you will need to open the port on the router

To do this, log into your router's administration page and follow the steps outlined below:

Configure IIS for Windows XP Pro Step 9
Configure IIS for Windows XP Pro Step 9

Step 9. Next, go to the "Home Directory" tab and select a file path

You should use this format: letteradrive: / Inetpub / wwwroot. This folder is created automatically upon installation.

Configure IIS for Windows XP Pro Step 10
Configure IIS for Windows XP Pro Step 10

Step 10. Now, go to the Documents tab

On this tab you can set a default document to redirect the user to if a valid URL is not typed. To add a new document to the list click “Add” and type the name of the document (you don't need the path to the file, but the file must be in the home directory you chose previously).

Configure IIS for Windows XP Pro Step 11
Configure IIS for Windows XP Pro Step 11

Step 11. Next, choose the properties window and right click on "Default website" again

This time, click on "New" and then "Virtual Directory" (not mandatory, but recommended). Select a suitable virtual directory name such as “root” or something similar to avoid confusion.

Configure IIS for Windows XP Pro Step 12
Configure IIS for Windows XP Pro Step 12

Step 12. Now, expand the "Default Website" and you should see the name of your virtual directory

Expand the directory and you should see all the files contained in the "Home directory". Relax, we're almost done!

Configure IIS for Windows XP Pro Step 13
Configure IIS for Windows XP Pro Step 13

Step 13. Again, right click on "Default Website", this time go to "All Tasks" and click on "Permissions Wizard"

  • Click on "Next".

    Configure IIS for Windows XP Pro Step 13Bullet1
    Configure IIS for Windows XP Pro Step 13Bullet1
  • Select "New Template Security Settings".

    Configure IIS for Windows XP Pro Step 13Bullet2
    Configure IIS for Windows XP Pro Step 13Bullet2
  • Click on "Next".

    Configure IIS for Windows XP Pro Step 13Bullet3
    Configure IIS for Windows XP Pro Step 13Bullet3
  • Select "Publish Site". Now, keep clicking until you're done.

    Configure IIS for Windows XP Pro Step 13Bullet4
    Configure IIS for Windows XP Pro Step 13Bullet4
Configure IIS for Windows XP Pro Step 14
Configure IIS for Windows XP Pro Step 14

Step 14. Now, test the site and see if it works

Open your browser and type in the address bar: https:// local IP address: port / virtualdirectory / or type https:// computername: port / virtualdirectory / or, if you have not changed the default port (80), type https:// computername / virtualdirectory /

Configure IIS for Windows XP Pro Step 15
Configure IIS for Windows XP Pro Step 15

Step 15. To access the site from a computer outside the local network, type: https:// externalIPaddress: port / virtualdirectory / (again, if you haven't changed the port type https:// externalIPaddress / virtualdirectory /).

Configure IIS for Windows XP Pro Step 16
Configure IIS for Windows XP Pro Step 16

Step 16. To find out your external IP address go to

Step 17. If it works, well done

If that doesn't work, see the Recommendations section.

Advice

  • A website requires a lot of bandwidth, so if you intend to run the server on your home computer, your connection will likely slow down.
  • A method to check if the router port 80 has been blocked by the ISP could be this: go to start> run> cmd. In the command prompt, type telnet google.com 80. You can use any other website. If you don't get an error message, it means that port 80 is open and telnet is connected.
  • Your permissions may be wrong. If you get a 401 error, run the permissions wizard again and review everything carefully.
  • On IIS make sure the "Default Website" is online.
  • Your site may not work because you have chosen port 80, which may be blocked. Try to simply change the port on IIS and router.
  • You may have performed the port-forwarding procedure incorrectly, leaving the port closed.
  • Try creating an exception on Windows Firewall for port 80.
  • If Apache is open, close it, and also close all Apache processes listed in the Task Manager.
  • For more information, Microsoft has IIS help pages, check them out.
  • No-ip.com is a good site to link your IP address to a subdomain for free. Visit the site, register and read the instructions.

Warnings

  • Do not upload illegal or copyrighted material to your server.
  • Do not assign full permissions, otherwise strangers could view the contents of your folders and install viruses on your computer.

Recommended: