Search code examples
webmamp

Testing mobile websites locally


I currently have a project in which I need to develop a web application for mobile devices. I've always tested my websites locally using MAMP on mac, but I have no idea how to do the same for a mobile device. I've found loads of websites that let you check a live website but seeing as all my code will be local they are no good. I've also found some applications that forward to a connected phone but all are on the Windows platform so no good once again. I'm looking for a solution in which I can just point my phone to a local url and view the site.


Solution

  • I found a REALLY simple way of doing it in the end. It was as simple as putting in my laptops IP address followed by :8888. It allows me to see the websites as I would straight on the machine!