

You can develop and test your site on your local server using your domain name. You can publish and test your site on your Ecenica web space without taking your old site offline. The computer at the receiving IP address needs to answer to your domain name.
hosts file let’s you intercept the DNS lookup and redirect your domain to another IP address.

If a match is not found, your computer tries to find an IP address using the Domain Name System (DNS).Įditing your. hosts file to try and map the site host-name to an IP address.

When you view a website your computer looks at it’s. See How long does it take for my domain name to become active? How does it work? Editing your hosts file can also be useful after registering a new domain name, recent domain transfer or DNS update. Modifying your computers hosts file is a useful if you wish to preview your website on Ecenica without modifying your domain name. hosts file in Mac OS X.Ī hosts file is a plain-text file used by your Mac to map hostnames to IP addresses. This article explains how you can quickly and easily edit your.
