Display all sites and bindings in PowerShell

Try this: Import-Module Webadministration Get-ChildItem -Path IIS:\Sites It should return something that looks like this: Name ID State Physical Path Bindings —- — —– ————- ——– ChristophersWeb 22 Started C:\temp http *:8080:ChristophersWebsite.ChDom.com From here you can refine results, but be careful. A pipe to the select statement will not give you what you need. Based … Read more

Can’t open localhost in Microsoft Edge (Project Spartan) in Windows 10 preview

So the issue is Spartan Edge doesn’t have access to the loopback addresses, which is something that most Windows Store apps are blocked from accessing. If you are using Windows 10 RTM or build 10166, this can be done by navigating to about:flags and checking “Allow localhost loopback”: Image courtesy of Ryan Joy and used … Read more

What is the difference between XAMPP or WAMP Server & IIS?

WAMP is an acronym for Windows (OS), Apache (web-server), MySQL (database), PHP (language). XAMPP and WampServer are both free packages of WAMP, with additional applications/tools, put together by different people. There are also other WAMPs such as UniformServer. And there are commercial WAMPs such as WampDeveloper (what I use). Their differences are in the format/structure … Read more

applicationhost.config file path in IIS 7, 7.5, 8, 8.5 and IIS 10?

For the “big” IIS versions since IIS 7, the location is always the same: %windir%\System32\inetsrv\config\applicationHost.config For IIS Express there is one per user, the default location is: %USERPROFILE%\Documents\IISExpress\config\applicationhost.config again it’s the same for all versions. You can run multiple instances of IIS Express per user, you would need to specify the location of the applicationhost.config … Read more

IIS: How to serve a file without extension?

Assuming (path) is a physical directory on your machine, create a new web.config file in that directory with the following content: <?xml version=”1.0″ encoding=”UTF-8″?> <configuration> <system.webServer> <staticContent> <mimeMap fileExtension=”.” mimeType=”text/xml” /> </staticContent> </system.webServer> </configuration> You are telling IIS that for this directory only, any file without an otherwise defined extension (in MIME types) should be … Read more