WordPress.org

Ready to get started?Download WordPress

Forums

intranet - internet IP (7 posts)

  1. quali74
    Member
    Posted 7 years ago #

    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??

    Thx

  2. quali74
    Member
    Posted 7 years ago #

    Is wordpress designed to work only inside an intranet OR internet?

  3. jrawle
    Member
    Posted 7 years ago #

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

  4. IcelandDream
    Member
    Posted 7 years ago #

    It is a DNS issue. Ideally the DNS name (myblog.mydomain.com 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 (myblog.mydomain.com)

    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.

  5. abariou
    Member
    Posted 6 years ago #

    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.
    Regards

  6. 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 (http://www.dyndns.com/services/dns/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.

  7. mrmist
    Forum Janitor
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic