• Resolved maheshalways

    (@maheshalways)


    Hello,

    I have almost given up. Not sure what is wrong. I have installed WordPress site locally on Raspberry Pi. Have done portforwarding in router. I can access site locally but when someone try to access using the no-ip url it does not work. I have also tried all methods on the web, like setting up site URL using below lines in the config file. Please do help else I will go mad.

    define( 'WP_SITEURL', 'https://jiaparte.myvnc.com' );
    define( 'WP_HOME',    'https://jiaparte.myvnc.com' );

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Something in your website setup is still redirecting to the internal IP:

    curl -v https://jiaparte.myvnc.com/
    *   Trying 81.147.22.73:80...
    * TCP_NODELAY set
    * Connected to jiaparte.myvnc.com (81.147.22.73) port 80 (#0)
    > GET / HTTP/1.1
    > Host: jiaparte.myvnc.com
    > User-Agent: curl/7.66.0
    > Accept: */*
    > 
    * Mark bundle as not supporting multiuse
    < HTTP/1.1 301 Moved Permanently
    < Date: Sun, 12 Apr 2020 14:01:45 GMT
    < Server: Apache/2.4.38 (Raspbian)
    < X-Redirect-By: WordPress
    < Location: https://192.168.1.75/
    < Content-Length: 0
    < Content-Type: text/html; charset=UTF-8
    < 
    * Connection #0 to host jiaparte.myvnc.com left intact
    

    Try using the plugin “better search replace”. Search for https://192.168.1.75 and replace with https://jiaparte.myvnc.com in all tables.

    Thread Starter maheshalways

    (@maheshalways)

    Thanks a ton Steve for replying. I did install the plugin and did a search replace. Still the same issue. Let me know what I’m missing. Thanks again for your help.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It’s working for me, now, so clear your browser cache.

    Thread Starter maheshalways

    (@maheshalways)

    Thanks a ton Steve. It is working hurray !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot connect externally to WordPress Site hosted locally on Raspberry Pi’ is closed to new replies.