Trying to view my localhost on my ipad so I don't have to deploy a website first

ipad, iphone, localhost

Solution

I assume that your iPad and computer are connecting to the same wireless router. The IP of your PC and iPad should both start with 192.168... Then viewing your localhost site on iPad is absolutely possible. e.g If your localhost site is on the PC with IP of 192.168.0.100 with port:8080, you can connect this site on iPad through url: `http://192.168.0.100:8080`

Problem

Ok,so this might be an odd question for this forum, but I can't find anything on it anywhere. I am new to web development, I've been at it for about 6 months and I'm slowly getting better. I create localhosts on my comp to view the look of my development for any website I'm building, this way I can see how the site reacts in a real-world setting. I'm positive that most developers do this. What I would like to know is if there is a way to connect an iPad or iPhone to that particular localhost so I can view how responsive my website is before I deploy it? There's got to be some way to view your developing website on a mobile device, I just have no clue on how to do that. So, if anyone is familiar with this, I would really appreciate some advice. Thanks, guys!!

Original source