Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm trying to access website located on XAMPP server on my other computer located on the same LAN network. I am able to see welcome screen of XAMPP server, i.e., 192.168.0.22/xampp/ but when I am pointing to my website, i.e., 192.168.0.22/xampp/website/ it says:

OBJECT NOT FOUND! The requested URL was not found on this server. ERROR 404.

However I am able to view the website on localhost. Any ideas what's wrong?

share|improve this question
    
Shouldn't the URL be 192.168.0.22/website/? –  Michael Jul 18 '13 at 14:54
    
Defo not. This is a problem with permission I guess. URL 192.168.0.22/xampp/website/ works perfectly fine on the localhost but when I try to open this on a different PC (same LAN) it gives me ERROR 404. Think it might be something related to httpd.conf and permission configuration. –  Coduy Jul 18 '13 at 16:07
    
Maybe a firewall restriction on the host? –  Michael Jul 18 '13 at 17:44
    
I'm a silly bean. You were right 192.168.0.22/website/ works great. Have no idea why I came up with /xampp/ in the middle! Probably drilling too many hours in front of the screen. –  Coduy Jul 19 '13 at 1:28
    
Firewall settings were changed beforehand. –  Coduy Jul 19 '13 at 1:30
add comment

2 Answers 2

You need to have following folders in the document root i.e. htdocs/xampp/website; you need to store your files in this document root only then it will work.

share|improve this answer
    
Website is defo stored under ULR mentioned by you. As mentioned above to @Michael it works fine on the localhost but refused to be opened on clients within the same LAN. –  Coduy Jul 18 '13 at 16:09
add comment
up vote 0 down vote accepted

As suggested by Michael (see above) 192.168.0.22/website/ fixed the issue.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.