• I’m having the server behind a router on a local network. Its IP is 192.168.1.9 and I connect to the site as https://192.168.1.9/wordpress/ . This works like a charm. I made a little webpage (index.html) which points to the wordpress as

    <html> <head></head>
    <body>
     <h1>Welcome to XXXXXXX Techsupport</h1>
     <h2>The Weblog</h2>
     We have a weblog here that lists planned work, work in
     progress and solved problems in a timeline manner.
     View it <a href="../wordpress"> here</a>
    
     <h2>The Forum</h2>
     We have a forum <a href="../phpBB3/index.php">here</a>
    
    </body></html>
    

    This works. For the wordpress as well as for the forum.

    Now in order to let others in the company have a look at the blog I opened the router for port 80 and told it to connect to the given IP. This works for a forum but it doesn’t work for wordpress. In the company, the router is adressed as https://123.456.789.123/wordpress, but somehow the index.php, where the wordpress actually starts, which should take over at one point, requests something like https://192.168.1.9/wordpress/&#8230;.., which fails as it is not in the local network anymore.

    I tried to point to the wordpress with
    ../wordpress
    ../wordpress/
    ../wordpress/index.php

    to no avail. I’m convinced that the wordpress/index.php does something wrong.

    Any configuration I missed ?

    Rene

Viewing 3 replies - 1 through 3 (of 3 total)
  • Are you trying to host your own wordpress via your own computer?

    If yes,

    1. You need a fix ip account
    2. or if dynamic, you would need something that called dyndns dot org is offering now to have a share hosting, which you can set your router to let your dynamic ip to point to your pc localhost.
    3. Or you can try using the easyphp.

    Thanks
    David Cheong
    [sig moderated]

    Instead of using IP address you really should register a domainname, especially if it’s for a company.

    As for your problem it’s because the wordpress url and site url are site to the private ip address. If you look in your dashboard options under general you’ll see the urls. These have to be set to the way you access wordpress from outside the router. IE the public IP address.

    Thread Starter tschaggelar

    (@tschaggelar)

    Yes, I host my own WordPress on an own server. And no, I don’t need a domain name, the server won’t be public, it is still within the company in a lan. I have a fixed IP for the router. The router is a lan-lan router and is used to protect my little office net.

    I changed the WordPressURL in the setup. Now it is available from the outside, but not anymore from the inside….

    There apparently is no chance to also access it from the inside?

    Thanks for this solution anyway. It is at least useable this way.

    Rene

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Doesn’t pass a router’ is closed to new replies.