Set Up Local Hostnames |
Overview Local hostnames allow a site to have a DNS name without the need to set up DNS Creating Local Hostname You may want to give mutillidae a hostname so it can be accessed more easily. For example, the following command would create a hostname that can stand in for the IP address 127.0.0.1 echo -e "\n127.0.0.1\tmutillidae.local" >> /etc/hostsThen the site could be access at http://127.0.0.1/hints-page-wrapper.php?page=home.php or http://mutillidae.local/hints-page-wrapper.php?page=home.php |