If you are testing the setup on a server that is not yet live, and you haven't pointed your DNS to your new server yet, here is a trick. You can fool your client machine into resolving the new IP by editing your local hosts file. Here's how it works: Your operating system will attempt to resolve domain names to IP addresses by first accessing a local file called the "hosts" file, which is simply a database of IP-to-hostname mappings. DNS is queried only if the domain name that you are looking for is not listed in this file. So, to trick your OS into resolving a "fake" IP address for your domain (pointing to your new server), just add one line to your local hosts file! For Example: 12.13.14.15 hostname.YOUR-DOMAIN-HERE.com Host File Locations: Windows 2000: C:\winnt\system32\drivers\etc\hosts Unix: /etc/hosts
|