I am trying to set up a site that needs to be accessed by users on my local network only with IIS Express (latest version), I am able to access it through the URL http://timesheet:8080, however, none of the other networked machines are able to access it through this URL.
The <sites>
section in the applicationhost.config files reads as follows:
<sites>
<site name="Final Time Planning" id="1">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="T:\Public$\Temp\Charlie\Web\Final Time Planning" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:8080:timesheet" />
</bindings>
</site>
<siteDefaults>
<logFile logFormat="W3C" directory="%IIS_USER_HOME%\Logs" />
<traceFailedRequestsLogging directory="%IIS_USER_HOME%\TraceLogFiles" enabled="true" maxLogFileSizeKB="1024" />
</siteDefaults>
<applicationDefaults applicationPool="Clr4IntegratedAppPool" />
<virtualDirectoryDefaults allowSubDirConfig="true" />
</sites>
I have also added 'timesheet' in my hosts file with the local ip of 127.0.0.1.
What am I doing wrong? Any suggestions greatly appreciated. If you need any more info feel free to ask.
You say:
I have also added 'timesheet' in my hosts file with the local ip of 127.0.0.1.
Have you added a line to the hosts files of all the computers attempting to access your site, pointing to your PCs IP address?
Also, you may need to enable remote requests
EDIT
Given your lack of access to hosts files/DNS configuration, I think your best bet would be to configure IIS Express to listen on any host name. Then, someone can access it either as http://yourmachinename:8080/
or http://timesheets:8080/
depending on if they can resolve timesheets
.
Change your bindingInformation attribute to
bindingInformation="*:8080:"