I have recently setuup/attempted to setup a webserver on a desktop PC. The Desktop PC is intended to host a "Local Intranet site". I have been able to get the site to fully work on the host PC itself, and the index page opens on other PCs on the network when they enter the IP address as well as the computer name into internet explorer's address bar. The index page has an auto redirect after 5 seconds to the login screen, however when this page redirects I get an error page and the address in the address bar changes to http://localhost/pagename.php. Could someone please assist me in fixing the error as this is pointing to the correct location but it does not show the page.
If I how ever type http://computername/pagename.php or http://ipaddress/pagename.php in the address bar it works on all other users on the networks PC's. Please I really need some help getting this to work. Thanks guys