Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: Viewing localhost on another computer

    I accomplished this by using my own particular computer's IP address.
    (http://www.zen-cart.com/forum/showth...t=85361&page=3)

    Hold down the Windows key and hit 'R'. That will bring up the Run window.
    Type in cmd and hit enter. That will bring up the Command Window.
    Type in ipconfig and hit enter. This will put some information on the screen which includes your own internal IP address on your home network. It will probably be something like 192.168.1.101 or similar.

    Try using your own IP in the two config files of ZenCart like this:

    define('HTTP_SERVER', 'http://192.168.1.101');
    define('HTTPS_SERVER', 'https://192.168.1.101');
    define('HTTP_CATALOG_SERVER', 'http://192.168.1.101');
    define('HTTPS_CATALOG_SERVER', 'https://192.168.1.101');

    I am able to login to the Admin and see the shop from any computer on my home network using this method.

    Hope that helps.
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

  2. #2
    Join Date
    Apr 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: Viewing localhost on another computer

    I have xampp (portable edition) installed on a flash drive and also an external harddrive. That way you can put it into any computer and view your site.
    The only thing you need to watch is that the drive name stays constant across computers. If you install it, and it is 'E:', then put it into another computer where it is 'D:' it seems to cause problems.

    Doesn't really answer your question, but might be another option.

 

 

Similar Threads

  1. Firefox views on one computer, not another
    By FukienMan in forum General Questions
    Replies: 3
    Last Post: 9 Dec 2011, 03:29 PM
  2. Problem moving site to another computer on xampp
    By outline in forum General Questions
    Replies: 12
    Last Post: 24 Jul 2011, 04:16 AM
  3. Accessing ZenCart from another computer
    By emf2718 in forum Basic Configuration
    Replies: 1
    Last Post: 30 Oct 2010, 02:11 AM
  4. Links and Images point to localhost when browsing from another computer
    By customgt in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Jul 2008, 03:34 PM
  5. Can my local Zen Cart be seen on another networked computer
    By wwwursa in forum General Questions
    Replies: 1
    Last Post: 26 Dec 2007, 02:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg