A useful tip to use when transferring a website and testing the transfer before changing your DNS is to edit the local hosts file. First, you want to get the IP address of the destination.
Locate your local hosts file in Windows:
Go to the last line and first add your IP and then the domain name of the website with and without www. So, for example, it would be:
127.0.0.1 domainname.com www.domainname.com