CSS, JS and images are not loading while sharing WAMP over local network
- by Hardik Thaker
I have share my wamp over my personal LAN . (Server IP : 192.168.0.100)
When I am trying to access wamp server it's working perfectly. But when I open website hosted on server using client machine (192.168.0.103) , it doesn't load CSS - Images and JS files. So I saw console and found that my browser is trying to load :
localhost//mysite/css/style.css
And failing to load resource. now when I try to load the same resource directly from browser using
192.168.0.100/mysite/css/style.css
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 !