1
I developed my first website for a simple internal application using Webmatrix in a Windows 2008 Server R2 machine. I'm able to open the site with a browser in the same machine as it is running, but cannot open it from any other machine in the network. I cannot open the default IIS7 website either.
The error is 401 - Unauthorized: Access is denied due to invalid credentials. You do not have permission to view this directory or page using the credentials that you supplied..
This is what I have done so far, without any changes in the results:
- Changed the port of my site to 80, and the default to 8080
- Where it lists all the sites (so far just the default and mine), right-clicked on my site, selected
Edit Permissions, selected theSecuritytab, and verified thatEveryonehasAllowpermissions for everything - Where it lists all the sites (so far just the default and mine), right-clicked on my site, selected
Edit Permissions, selected theSecuritytab, and addedDomain UserswithRead & execute,List folder contentsandReadpermissions.
BTW, I checked these 3 posts with other fellows having the same issues as me and there are no answers.
Can't access IIS7 from my home network
How does one allow access to networked PCs to see your "localhost" in IIS7 - Windows 7
And yes, I can ping the computer running IIS7, the WWW services are enabled with no restrictions, tried disabling firewall, etc.
Are you running IIS 7.0 or IIS 7.0 Express? WebMatrix installs the latter? – BinaryMisfit – 2013-01-14T18:34:56.987
Diago, how do I know which version I'm running? – Amarundo – 2013-01-14T19:28:14.060
I am not sure how to check it in WebMatrix, but when running the site in WebMatrix is the address
localhostorlocalhost:1234where 1234 is a port number? It sounds to me like it's the latter which means it won't be accessible from other machines on the network at all. – BinaryMisfit – 2013-01-14T19:33:47.013it is localhost:1234. But why wouldn't it be accessible using that port number from another machine. And also, what's the point of WebMatrix? Can't you develop anything to be accessible from another computer? Thanks a lot! – Amarundo – 2013-01-14T19:43:53.890
I'm seeing some articles saying precisely that: WebMatrix is meant to produce sites that can only be run from the same PC. Thanks. – Amarundo – 2013-01-14T19:51:50.643
I think you are misunderstanding. It is used to develop websites and then they are publish to an actually hosted web server. In your case you can configure normal IIS on the machine and publish from WebMatrix to make it accessible. See my answer for some important links. – BinaryMisfit – 2013-01-14T19:55:48.950