• Hi, I have installed wordpress in my two computers (Machine1 & Machine2).
    When I access //192.168.1.1/wordpress from second computer, the wordpress home page is loading from the first computer but not theme. When I click some link it automatically redirects to the wordpress installed in second computer (local host). It may be becuase mysql is installed in both the machines. Is there a way to solve.

    In short, I need to access //192.168.1.1/wordpress and //192.168.1.2/wordpress from the same computer.

    Thanks a lot for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried configuring the database server location in wp-config.php as the IP address instead of localhost?

    /** MySQL hostname */
    define(‘DB_HOST’, ‘192.168.1.1’);

    It would help to know what O/S your installation was on. It sounds like a permissions issue, or you may need to modify your hosts file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Accessing localhost wordpress fromother Computer’ is closed to new replies.