• I know can’t be the only one asking this however, I’m not finding any documentation on what would seem to be a pretty common request? If anyone can direct me to a thread that may help or just point me in the right direction, I’d be grateful.

    I’m installing the newest version of WP on a new host (Cpanel), and need to test/populate and develop the wp template before moving the DNS. I’ve been successful to point when I need to access the wp-admin console. Then it blocks me out with 404. I’ve read reconfiguring the siteurl and home tables with myphpadmin tool but seems overkill. Thought I could install using the IP address but Fantastico won’t allow a blank field for this during the WP install. So, how do I accomplish this? what am I missing?

    Many thanks in advance.
    R

Viewing 9 replies - 1 through 9 (of 9 total)
  • I do not think it is possible as you will need a domain name in your Settings General

    Thread Starter witchdoc

    (@witchdoc)

    Thanks for the respons – but actually – it is possible. I just wasn’t the one who config’d the last wp site I was able to do it with. So, I know it’s a doable thing. I just can’t believe it to be such an uncommon issue?

    Thread Starter witchdoc

    (@witchdoc)

    Well for now, I’ve used the myphpadmin for a work around. Modified the siteurl and home tables to the host’s IP address and am able to access wp-admin. But if there is another, less ‘hacked’ way to achieve this, I’d be very interested to know!

    Thanks
    R

    iluvpinkerton

    (@iluvpinkerton)

    Can you explain how you were able to do that? I am about to move a site and I want to be able to test first!

    arkgroup

    (@arkgroup)

    witchdoc and iluvpinkerton,

    Yes, there are other ways. Read this article:
    https://codex.www.ads-software.com/Changing_The_Site_URL

    The only difference as you need to insert not a new domain name, but IP address or temporary domain name if your IP is shared.

    iluvpinkerton

    (@iluvpinkerton)

    I’m trying to move an entire site, including a WordPress installation to a new server, same domain name.

    So would I copy all the files and upload them to the server and then add these two lines to the config file on the new server?:

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

    Doing that would let me see it on the new server?

    govpatel

    (@govpatel)

    If you put those in config file you will not be able change then in Settings General as they will be grayed out.

    iluvpinkerton

    (@iluvpinkerton)

    Yea but I cannot access settings general anyway since I have not pointed my DNS to the new server yet. I’d like to be able to see the site on the new server to test before it goes live. Just trying to figure out how to do that…

    arkgroup

    (@arkgroup)

    iluvpinkerton,

    Yes, you should copy all the files first. Then add two lines above to configuration file of wordpress and insert new IP address or temporary domain name there. For example:

    define(‘WP_HOME’,’https://123.123.123.123/’);
    define(‘WP_SITEURL’,’https://123.123.123.123/’);

    Then upload everything to new server. You’ll be able to access your website with IP address or temporary domain name then. Don’t forget to import wordpress database to new server.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Installing/testing on new host prior to DNS move’ is closed to new replies.