Can I view my locally hosted site on a phone? (3 posts)

  1. Nick H.
    Posted 4 years ago #

    I'm about to start building a retail site. It's hosted on my laptop, just so I can put off paying a hosting fee until I really have to. Is there a way to view it on my Android phone while it's still hosted on my laptop? I installed it with WebMatrix. I suppose asking a phone to run SQL and WebMatrix is a bit much! But can I persuade the Android browser to pretend that my laptop is the internet?

  2. Nick H.
    Posted 4 years ago #

    Hang on, maybe I've missed the point. The site has a url - so can any web browser visit it? (Assuming my laptop is powered on and WebMatrix is loaded.)

    My brain hurts.

  3. Matthew Boynes
    Posted 4 years ago #

    Hi Nick,
    There are a ton of ways to do this, so feel good about that :-).

    The easiest requires a WiFi router and it's to use your network IP (which is probably something like 192.168.1.n) when installing WordPress, and then accessing that same address from your Android Phone while it's on WiFi. Make sense? In short:

    1. Install the WP code
    2. When you go to do the database installation, instead of accessing your code at http://localhost/, access it at, e.g., (using your IP that your wifi router gave you, of course, and adding the path to the URL, e.g. /wordpress/)
    3. On your phone, with WiFi enabled, go to that same address, e.g.
    4. Dance around the room

    If that option isn't possible for you, I've got a whole bunch up my sleeve. Best of luck!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.