Hosting a website over lan

Status
Not open for further replies.
Ok, i have it working. Looks great. Not just gotta finish the site and fine tune it. Thanks a lot.

Although. I dropped all the files for the site in the file, and when i type local host it goes to a list of all the files and i have to choose the homepage. Is there a way i can get it to go to the homepage automatically instead?

EDIT: Just tried the site on another computer on the network and it did not work....why not?
 
If you're using Apache, you have to make sure your homepage file is in the DirectoryIndex line in the httpd.conf file for Apache. For example, it might say:

Code:
DirectoryIndex index.html index.php

Etc.

localhost won't work from other PC's, as localhost pertains to local as in that PC. So, you'll have to use your PC's LAN IP to connect from another PC on your network.

To get that, go to command prompt and type ipconfig.
 
Status
Not open for further replies.
Back
Top Bottom