Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have share my wamp over my personal LAN . (Server IP :

When I am trying to access wamp server it's working perfectly. But when I open website hosted on server using client machine ( , it doesn't load CSS - Images and JS files. So I saw console and found that my browser is trying to load :


And failing to load resource. now when I try to load the same resource directly from browser using

It's showing me css file ! Now I am confused how to solve this problem so that my browser load that css perfectly !

Please help me ! thanks in advance !

share|improve this question

closed as off topic by Michael Hampton, rnxrx, HopelessN00b, RobM, Sven Oct 28 '12 at 0:20

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

If it solved your issue, why are u removing answer mark? – p1100i Nov 20 '12 at 21:53
Ohh.. wtf happens to my answer acceptance ! I didn't ! – Hardik Thaker Nov 22 '12 at 2:38
up vote 3 down vote accepted

Its working just as it should. If the browser reads some include directive with "localhost" it tries to look up that file in your current computer ( if localhost is set to, and default it is ). So you should change the path of those files in your html, to a relative url, like: css/style.css. This will work if that html page is in that directory where the css/style.css can be found.

share|improve this answer
Yeah.. thanks I found and fixed that issue.. thank you so much !! – Hardik Thaker Oct 27 '12 at 16:46

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