The database still has the domain as the URL to use so it will always redirect you to the old server.
The best solution is to change your hosts file.
123.456.789.0 yourdomain.com
By using the NEW IP address you are forcing your computer to use the new server when going to yourdomain.com. That way you can login and do everything, making sure all is perfect before switching DNS.
Related Posts:
- Minecraft Server closes immediately after running?
- WAMP vs XAMPP pros/cons – for running a local testing server [closed]
- WordPress local development environment [closed]
- Can you host WordPress using Amazon Web Services such as EC2, RDS, EBS etc?
- Character encoding issue after changing servers
- WordPress .htaccess subdirectory problem
- Implement ssl to a WP docker container [closed]
- Apache/Linux configuration changes to make automatic upgrade more straightforward
- Testing local server with MAMP/wordpress on mobile device? [closed]
- Arabic Characters in URL returns 404 Error
- Connect to server with SFTP instead of FTP/FTPS within WordPress Backup
- WordPress hangs when I publish or update a post [closed]
- Force Cron to run only on one server
- Gutenberg: unable to save attributes with ServerRender
- WordPress incorrectly redirects to local IP address?
- Handling the response sent from a ruby on rails application in wordpress
- How might I setup a development server (local) and a test/production server (remote)
- Why does WordPress get posts from MySQL from a virtual hostname but not the direct hostname?
- Can you have multiple wordpress sites under the same domain?
- Can’t delete unwanted favicon
- How to Better Control WordPress Cron Jobs?
- Changing the server path
- Editing post and page responding 503 Service Unavailable
- Two live WP websites – how to sync?
- what are the chmod rights recommended to give for every folders of wordpress projects
- WordPress installation site folder move to the final site destination
- WordPress hosting optimized servers – Is this just a sales gimmick? [closed]
- External cron job firing too many times
- Does WP read itself?
- SSH Upgrade Problem
- Archived Server for Reference – Unable to Navigate Passed Homepage
- dev site running on subdomain is redirecting to the main domain
- copy wordpress site files on new server
- Lamp stack not supporting phpmyadmin? [closed]
- HTTP Error on media upload, only httpd restart helps
- Moving wordpress to an unknown outlet
- White screen on front page only
- Log Author Actions
- WordPress hosting moved from windows server to linux server
- cURL error for cron
- WordPress sub-directory on other server running on nginx?
- Do I need a backup plugin if I’m already backing up via cPanel?
- Server specification [closed]
- For a complete backup, is it enough to copy htdocs and export database?
- How to change settings so I can upload images in WordPress posts?
- WordPress FTP via admin panel slow
- Scripts external to WordPress cause 404 errors
- WordPress PHP version/info not being picked from cPanel PHP Version values
- Changing domain name causes some strange problem in my browser
- Sequence of finding a website when they are running WordPress
- i have a problem with my domain getting rederected to another one
- How to optimize wp_delete_post() function, or why it is so slow
- Adding a “code checker” for my e-learning wordpress site
- localhost/wordpress(or other application), how does it work?
- WordPress vps memory allocation
- Getting past the Synology default web site when creating a web server
- Internal Server Error after restoring MySQL databases
- Apache using full RAM problem
- Best WordPress Cloud Hosting Provider that allows installation of ffmpeg 4.0
- Server (VPS) is going down when editing a bigger wordpress article! (?)
- URL problem in my site
- Setting up WordPress client and server
- Migrating WordPress from Windows Server 2008 R2 (IIS v7.5) to CentOS
- Formatting wordpress debug messages
- Multi-server environment is causing problems in WordPress
- Best practices for configuring a server?
- Does WordPress perform better with curl installed?
- WordPress or plugin need tomcat?
- Trouble getting wordpress working after moving servers
- Apache extensions for WordPress’ working without troubles
- WordPress keeps crashing my server
- WordPress not working locally
- Would Amazon AWS Services be a good alternative to my current hosting provider?
- WordPress site causing lots of server IO
- What level of permissions should the plugins folder be set to?
- Download a zip folder of selected files
- Problems with ‘require (./xxx)’ on IIS7.5
- Moving a WordPress website from one server to another
- Test for IP in Array Always Fails on First IP
- Where can I find web hosting reviews? [closed]
- Check WordPress size on disk
- Will denying all ip address except my own create a problem?
- Reduce initial server response time wordpress
- existing server and domain with new webpage
- Server setup sanity check on theme changes
- input file appears to be a text format dump. Please use psql
- What is a better way to backup files than FTP?
- Can you have a blog in a subdirectory hosted on a different server?
- What are best practices for configuring a server for WordPress sites?
- Multiple Multisite networks on the same domain?
- Solve cors problem using rest api or ajax
- How to perform WordPress backups using wp-cli?
- WordPress Admin Interface not styled properly
- What is the best practice to get a site from local to online?
- Giving WordPress its own subdirectory – nginx
- The safest way to automate WordPress backups
- Are there any scripts, classes, and/or functions built-in to WP for a plugin to export/import its saved data from wp_options?
- Restose content from revisions – sql query
- Custom wordpress Theme and Plugin repository
- Backup Site Data from a Bitnami WordPress instance