Support » Fixing WordPress » intranet – internet IP

  • Hello All,

    I am trying to get wordpress to work in my intranet as well as on the internet. I am not very good when it comes to configure server or that sort of things so I need a bit of help.

    So far I can have the forum to work either in the intranet using (http://192.168.2.x/wordpress) or the internet (http://x.x.x.x/wordpress). But if it works with the intranet, it stops working with the internet and vice-versa.

    Is there a way to fix this??


Viewing 6 replies - 1 through 6 (of 6 total)
  • Is wordpress designed to work only inside an intranet OR internet?

    Can’t you simply access the site via the external IP, even from the intranet?

    It is a DNS issue. Ideally the DNS name ( etc) would resolve to the internal IP when on the intranet but then resolve to the external IP when outside. The WP config should be set to the desired URL (

    Many SOHO routers will do “NAT loopback” when hitting an external IP from inside. If yours doesn’t then you need to do proper DNS.

    Good morning all,
    I have exactly the same problem as THx. WP can be installed EITHER with an Internet OR intranet address but it will not work simultaneously.
    My problem is that I am addressing students who want to indifferently login from home or school. I would be extremely grateful if someone had could crack this DNS nut.

    You need to address the site by a domain name, not an IP address. Use a registered domain name – even a free dynamic DNS name from a service such as DynDNS ( will be fine. That will enable visitors from home or elsewhere to find the site.

    Your internal network needs to be configured so that the same domain name points to the internal (private) address. This can be done on an internal DNS server or by adding entries to HOSTS files on your computers. That’s assuming that the network won’t let you connect to the site by the external address – some will, some won’t.

    That’s about as much detail as it’s appropriate to give in a WordPress forum. Whoever is responsible for the school network should be able to sort this out.

    An alternative method would be to have the internal one in a virtual machine environment, where you could continue to use the external domain name, resolving to a different address. Otherwise it’d be tricky to do this on a machine that’s got external connectivity.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘intranet – internet IP’ is closed to new replies.