Support » Installing WordPress » Pre-DNS move: Getting 404 error when logging into admin page

  • Resolved sgruenwedel


    I have a non-WP site at Host A. I just installed WP at Host B and want to get the new site all set up before I redirect the DNS servers to the new IP address and cancel the Host A account running the old site.

    But when I try to log in to my WP admin page using the IP address, for example:

    It redirects to this URL:

    Because that non-WP site has no such directory structure, I get the 404 error.

    How do I log in to my new site using the IP address that Host B provided me, without being redirected to the old site at Host A?

    Note that this URL works fine:

    When I go there, I see the plain-vanilla default home page that the installer initially creates. So I can go to 123.456.76.90/wp/ but not to 123.456.76.90/wp/wp-admin/.

    (By the way, I installed using Fantastico. My Host B is Site5.)

    Am I doing something wrong?



Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff


    Volunteer Moderator 🚀

    If you want to work with WP before the DNS changes, you will have to set the “site url” and “home” values in the database to the IP address with the /wp/ directory. See:

    Once your domain becomes function, you can easily change these two options back to the domain in Options/General.

    Thanks for the info. I logged in to my phpMyAdmin page (it’s version 2.6.4-pl2) and tried to make the first edit to siteurl as you describe. However after I click Go, the screen says “No change” and indeed the change has not been made.

    Is this an issue with permissions or something? How would I correct that? I am the sole owner of the account and indeed created this in the first place. I’m concerned that on the home page of the admin screen, under the “Create new database” link, it says “No privileges.” Is that a clue that I don’t have permission to edit the database tables?


    Moderator James Huff


    Volunteer Moderator 🚀

    I recommend that you contact your hosting provider.

    Yipee, I fixed the problem! 😉

    Well, I had help. I found out from my web host’s customer support how to log in to phpMyAdmin so I could make the changes that your very clear, very understandable tutorial explains.

    After I set my IP address as my site URL, I had no problem logging in to the WP admin page at:

    Thanks for your help!


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pre-DNS move: Getting 404 error when logging into admin page’ is closed to new replies.