• Resolved stopphysics

    (@stopphysics)


    hello and thanks for your help, commUnity!

    I am trying to run a “sandbox” testing environment on a shared-server host, and am having some trouble getting WP to operate without having the Domain Name resolved to this host. Specifically:

    the domain name (https://tinctoriadesigns.com/) is currently pointed to another host, and i need to leave it pointed there while we build up the new site design (using WP, hooray!).

    In the meantime, we have a NEW host at: https://75.127.69.218/~tinctori/
    …but of course WP wants to run the situation based on the root domain defined during installation (tinctoriadesigns.com/)…which of course won’t work because the DNS is pointed to the other host.

    Is there a way to change that root domain (and is that even ABSPATH?) from the true domain name (tinctoriadesigns.com) to the temporary non-public IP-user (https://75.127.69.218/~tinctori/).

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter stopphysics

    (@stopphysics)

    Ahhhhh…SUCCESS!!!! I answered my own question…thanks to a hint from this article:

    https://codex.www.ads-software.com/Moving_WordPress
    …which says:
    “If you want to test before you switch, you must temporarily change “siteurl” and “home” in the database table “wp_options” (through phpMyAdmin or similar).”

    But in a nutshell…your ROOT url/uri can be defined to be a static IP (or a shared IP with user name, or other, depending on your host’s system settings) INSTEAD of your domain name. You must set it manually by altering your wp-database table as described above.

    Keep in mind that utilities such as PhpMyAdmin will default display 30 rows of your table, and that “siteurl” is easy to find at row #1, but your “home” is found in row 39 or so…

Viewing 1 replies (of 1 total)
  • The topic ‘define root directory ABSPATH for non-resolved domain-name?’ is closed to new replies.