title: Viewing a localhost site over a LAN
body: <p>I have installed and configured xampp on a server (not a web server) which has roughly 20 PCs linked up to it with a LAN.</p>
  <p>I can view the xampp files from other PCs on the LAN but when I search the server name, followed by &quot;/internal/homepage.php&quot; - I get:</p>
  <blockquote>
  <p>404 - File or Directory not found.</p>
  <p>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</p>
  </blockquote>
  <p>And when I type in &quot;localhost/internal/homepage.php&quot; I get:</p>
  <blockquote>
  <p>This webpage is not available</p>
  <p>ERR_NAME_NOT_RESOLVED</p>
  </blockquote>
  <p>Why can't I vied the locally hosted files across the LAN?</p>
  <p><strong>Edit</strong></p>
  <p>Despite putting all the files onto a local server that is used for storage of files between 20 PCs, when I type in the IPv4 address of the connection to this network, I can view the site on other PCs, but when my laptop (which I got the IPv4 address from) is switched off, the connection cannot be made.</p>
  <p>It seems as if it is just viewing the files from my PC but they are no longer on my PC - they're all on the server, so why should it not load them when mine is shut down?</p>