Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: ubuntu server 16.04.3 IP Address Resolves Correctly but Webpage Does Not

  1. #11
    Join Date
    Sep 2017
    Beans
    6

    Re: ubuntu server 16.04.3 IP Address Resolves Correctly but Webpage Does Not

    So we cheated... we changed the IP address to 192.168.4.176 and now it works. I don't what the issue was but I got to my end result, thanks for the effort!

  2. #12

    Re: ubuntu server 16.04.3 IP Address Resolves Correctly but Webpage Does Not

    Cheating is "creative" and +1
    Issue was posts in table wp_posts has stored content pointing to http://192.168.4.176

    WP_SITEURL and WP_HOME variables in db.
    can be "cheated" also using
    Code:
    define('WP_HOME','http://domain.tld');
    define('WP_SITEURL','http://domain.tld');
    can be utilized in wp-config.php. negating the "reason" to alter another table.

    wp_posts table has all the posted content still pointing to 192.168.4.176

    something like export db > database.sql
    Code:
    cat database.sql | sed 's#http://192.168.4.176#http://10.11.79.3#g' > database2.sql
    would "sanitize" the inplace data. You'd have to re-import database2.sql into the wordpress db and you should be golden.

    https://codex.wordpress.org/Changing_The_Site_URL
    and
    https://codex.wordpress.org/Moving_WordPress
    Windows assumes the user is an idiot.
    Linux demands proof.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •