WordPress.org

Ready to get started?Download WordPress

Forums

Access WordPress from private LAN (2 posts)

  1. Joe Hesse
    Member
    Posted 6 months ago #

    I have my WordPress server in the same room that I work.

    The WordPress server is on my LAN.

    The WordPress server works great when accessed from the internet. I would like to occassionally access WordPress from my LAN only by not forwarding port 80 on my router. This would be for my convenience in maintenance on my LAN.

    It appears that this is not possible since WordPress hard codes the internet domain name within itself.

    Am I correct or is there a way of doing this? Part of the problem seems that the WordPress setting require an internet domain name.

    Thank you,
    Joe

  2. Alexandru Doda
    Member
    Posted 6 months ago #

    Hi Joe,
    Try accessing your LAN website by following the example scheme:
    192.168.X.YYY (where X can be for example 0 or 2 - depending on your router and YYY would be your WordPress server computer number: e.g. 100, 101, etc.)

    If that doesn't work, try adding the port after your address like:
    192.168.X.YYY:PORT (where port could be 80, 8080 and so on - the port where your apache is hosted)

    If it still doesn't work, make sure your server's firewall does not block private connections. Maybe it allows public connections but not the ones from the local network - it is possible. Go to its settings and check upon that.

    I hope it helps.

    Cheers,
    Alexandru Doda

Reply

You must log in to post.

About this Topic