
We are going to install a development site on a GridPane server and edit our hosts file to redirect our browser to the GridPane server when visiting the client domain. That is the most commonly used IPv4 loopback address and it is reserved for that purpose. In our example, we have a new client who owns their domain at and they currently have a coming soon holding page at their old hosting. Convert localhost to your Mac’s current IP address MaMa/ By Philip Hutchison / web design and development When developing web pages, I use MAMP.app or my Mac’s built-in Apache. On almost all networking systems, localhost uses the IP address 127.0.0.1.
MAC LOCALHOST IP HOW TO
We’ve also made video demonstrations of how to do it as well: Or create several listening IPs like in this q&a. On the right side of your Internet Sharing options, check iPhone USB. If the checkbox next to Internet Sharing is enabled, uncheck it. This should show your internet sharing controls on the right. To advertise the service in Bonjour you have to use dns-sd. Connecting iPhone to localhost Connect your iPhone to your computer via USB.

In this article, we will use a simple example to go through the process of editing your hosts file to enable this. A hostname '127.0.0.1' as well as 'localhost' can't be resolved by OS X's mDNS responder (neither non-reverse nor reverse).

You can also accomplish this with tools like, which is also a handy website for your toolbox, but we highly recommend that you learn how to use your local hosts file for redirects. Allowing you to test the migration before swapping over DNS.

Develop a serious WordPress site locally, but work with all the correct URLs for the end production domain.This technique can be useful for many purposes, including:
