Galaxy Dedicated servers

deal  |  faq  |  links  |  contact  |  news  |  about us

 
  • dedicated server unix
  • dedicated linux server
  • freebsd dedicated server
  • window dedicated server
  • dedicated nt server
  • cpanel dedicated server
  • window 2003 dedicated server
  • abc dedicated internet server
  • recommend book
  • dedicated linux server

    dedicated linux server

    Fool DNS!

    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:
    /etc/hosts