Home Geeks How to Enable Localhost in Windows 7 & 10

How to Enable Localhost in Windows 7 & 10


This article is totally based on How to Enable Localhost in Windows 7, 8 and 10. Let’s start with the basics Localhost is a live host which is used in the testing process by web developer commonly. You must have ISS installed on your browser before instaling Localhost in Windows.

The Steps on How to Enable Localhost in Windows are mentioned below :

How to Enable Localhost in Windows 7 & 10

  1. Click on Windows Button and go to Control Panel.
  2. Chose Program For then List of Popup Window.
  3. Click on “Turn Windows Features On or Off“.
  4. Now do Check on “Internet Information Services“.
  5. Then Press Ok and wait till the Components of IIS is downloaded and Installed.

How to Open Localhost On Browser?

If you are using windows then you might be well known about the built-in browser with Windows Internet Explorer. If you want you can also use the alternative browsers Google, Opera and many more.

How to Enable Localhost in Windows 7 & 10

Firstly you need to open your best browser and on the URL Section,u can type localhost or http://localhost/ you can click the link. Now you will see the welcome page as a default of the localhost.

Localhost Files Location

You can access to localhost files location very easily form your own computer. Open My Computer and open the drive you have installed Windows Os on. Talking about the default the Drive is C:\ then inetpub.

Location : C:\inetpub

How to Change the LocalHost Files?

Once again open My Computer and go to the C:\ drive open inetpub folder. Now go to wwroot folder inside the files and replace the original file with your project file. Next thing you need to do is save the files and close the required File Explorer.

Location : C:\inetpub\wwwroot

Now to check If the process worked or failed to go to your browser. In the URL type localhost. If you see a new window then the process is successful.


Please enter your comment!
Please enter your name here