Windows 8.1 – Activating IIS

Been awhile I’m putting aside an HTML, Javacript, XML project.
Finally decide to go for it, started with few short codes from ever reliable W3 School.
All’s well until I’ve to test the codes in my laptop, wasn’t able to run Javascript properly.
Looked for my previous online sites, was able to find one.
Tested my codes, run well online.
Concluded that something is wrong with my laptop setup.
Obvious reason: IIS inactive.

So, done usual online research, didn’t come up with anything useful from “Error 503. the service is unavailable”.
Got few ideas from this link: http://windows.microsoft.com/en-CA/windows-8/internet-information-services-iis-8-0.
Finally stumbled upon “C:\inetpub\wwwroot”, worked on other task, spotted IIS folder.
Tinkered and all seemed well, except the last part.
Pretty simple actually to enable IIS, steps as follows:

  1. Run “Windows Features”:
    • From “Control Panel”, go to “Programs and Features”, click the “Turn Windows features on or off” (3rd link down from left side)
    • From Start right-click “Run”, enter “appwiz.cpl @,2”
    • From command prompt, enter “appwiz.cpl @,2”
    • You should see screen similar to this:
      image
  2. Select options from “Windows Features”:
    • Click the [+] sign left of “Internet Information Services” to expand options
    • Check/Uncheck according to required options
    • Click [OK]
    • Might take few seconds to install selected options
  3. Normally after above steps, you’d think all’s done. 
    Unfortunately, this last step took the longest to figure out.
    Actually just by accident I was able to see the “IIS” folder, trying to do other thing.
    Hope you won’t spend as much hours finding this out:
    • Activate “Application Pools”
      • Open “Files Explorer” and go to “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\IIS”
      • Run “Internet Information Services (IIS) Manager”
      • On below screen, “Start” the “DefaultAppPool”:
        image
  4. That’s it, now you can go to your browser and type “http://localhost/”.
    You should see something like this:
    image

 

Congratulations and enjoy your IIS!!!

Advertisements

One thought on “Windows 8.1 – Activating IIS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s