Editing The Hosts File For Local Web Development
When I start working on a new site for a client, I like to setup a local subdomain based on the client’s domain like dev.yourdomain.com. Make sure you add this domain to the Settings > General page in WordPress. To do this, you will need to edit the hosts file. Here are some basic directions: …