Jo Colina
Jo Colina

Reputation: 1914

Localhost on Windows 7

I want to enable a localhost on Windows 7 to be able to build websites with Chrome without a distant server. I would like to not install anything, and be able to, for example, navigate to http://localhost/something/somethingElse/index.html.

Anyone knows how?

Upvotes: 21

Views: 91108

Answers (2)

Sasi Varunan
Sasi Varunan

Reputation: 2864

There is a simple chrome extension "200 OK". Which runs a web server on localhost.

  • Custom port settings
  • Choose your project folder and start the server

enter image description here

Upvotes: 4

Jo Colina
Jo Colina

Reputation: 1914

In order to activate localhost server on Windows 7 navigate to:

-> Control Panel -> Programs and Features -> Turn Windows features on or off

Then search for Internet Information Services and check its checkbox.

Wait for Windows to make the changes, no need for immediate restart, the server will be enabled.

You can now navigate to

127.0.0.1 

or

http://localhost

Upvotes: 35

Related Questions