Access XAMPP PC (lan) via laptop through WLAN
Posted: 13. January 2015 15:00
Hi!
I tried to build a remote development environment to be able to develope sites with laptop.
For the moment I can access sites on XAMPP with laptop through wlan to lan(router) connection but there's a 404 problem with all server-side files such as css and js.
It tries to request these files form localhost/sites/file.css while I'm accessing the site with PC's local lan IP address.
Do I need to modify my laptops settings or pc(xampp)? I've tried modifying laptops hosts file to resolve localhost -> pc ip.
I tried to build a remote development environment to be able to develope sites with laptop.
For the moment I can access sites on XAMPP with laptop through wlan to lan(router) connection but there's a 404 problem with all server-side files such as css and js.
It tries to request these files form localhost/sites/file.css while I'm accessing the site with PC's local lan IP address.
Do I need to modify my laptops settings or pc(xampp)? I've tried modifying laptops hosts file to resolve localhost -> pc ip.