Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter cherrydee

    (@cherrydee)

    OK so i edited my httpd.conf and allow any connections from 192.168.0 and i was able to access it from PC#2. BUT entering 192.168.0.xxx from PC#2 will bring up the localhost UI. clicking my tracking-site directory which should be (192.168.0.xxx/tracking-site) shows up error. i believe this is because my current site url is localhost/tracking-site so PC#2 thinks it is its own localhost. I don’t know how to change my site url. i tried putting http://tracking-site.com but page does not load up

    i believe this is because my current site url is localhost/tracking-site so PC#2 thinks it is its own localhost

    That’s the reason. Editing httpd.conf is not necessary, and could cause unanticipated issues if you’re not sure of what and why you’re editing.

    As long as your WordPress URLs contain “localhost”, the site will not be properly displayed from anywhere else on your own LAN but the machine it’s installed on. Installing WordPress from another pc on your LAN using the static ip address of the machine you’re using as a server will allow you to connect from other machines located on your own network.

    Short version:

    – Set a static internal ip on the machine you’re using for a server
    – Make sure Wampserver is configured to allow connections to that machine
    – Install WordPress on your server using the private ip address you assigned to the machine. EX: http://192.168.x.x/tracking-site

    If you have already installed WordPress with “localhost” url, you can change it to your local ip address (as instructed above) by going from your WP admin to: Settings > General > WordPress URL and Site URL.

    I just faced that issue and i thought to write it here it case it helps others.

    I figured it out. I need to change the settings in my wordpress. thank you for your help 🙂

    Sorry I wrote this on the wrong one… oh dear!

    urinimu2

    (@urinimu2)

    @geokongr – Wow, thanks for making it easy!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘how can i access my local wordpress from another pc?’ is closed to new replies.