Accessing Xampp server on multiple computers on same network

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Accessing Xampp server on multiple computers on same network

Postby omarel » 08. December 2014 01:01

I was able to access my xampp server on one computer on another using the lcoal ipaddress, but Websites I have running on the webserver show up broken on another computer because of the url path. CSS and image files show broken links.

For example, a website on my xampp server is at:

http://localhost/website/

When I use the ipaddress on the other computer such as:

http://242.121.1.6/website/

The css and images are broken because they're using localhost as the url path. What's the solution? Should I use the local ipaddress of the computer with the XAMPP server as the path for images and css?
omarel
 
Posts: 4
Joined: 08. December 2014 00:55
Operating System: mac osx

Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 5 guests