I am just transferring over a WordPress site from Server 1 to Server 2.
The IP address of Server 1 points to
example.com (A record on DNS server)
The IP address of Server 2 points to
www.example.com (A record on DNS server)
During the migration, I want to type in
www.example.com and prevent any redirection - so that I can make sure that it has been set up correctly before
setting the A record for
example.com to point to Server 2.
There is a
.htaccess file on Server 2, but it isn't redirecting to
example.com. Just to make sure that it isn't, I renamed it to
htaccess.bk to make sure it doesn't kick in - but no success here.
Any idea what I need to do?