I don’t know how this eluded me for so long… I remember breaking MAMP a number of years ago by editing the hosts file on my Mac, and I think I have been afraid to edit that file ever since.
Tonight I needed to test out a domain before changing the dns. I have the new site ready to roll – an add-on domain created in cPanel at a specific ip. (Basically, I have mydomain.com ready to roll at an ip address of 18.104.22.168)
The secret sauce was to go into my hosts file and add a line that says: 22.214.171.124 mydomain.com www.mydomain.com
That’s it! Now when I go to mydomain.com in a web browser on my computer, it displays the new site! Pretty awesome!
More posts from themightymo.com
Yesterday I discovered the new Fluency 2.0 plugin for WordPress 2.7. It does a fantastic job of cleaning up the admin interface and makes the back-end WordPress experience much better for users.
We have just teamed up with one of the web’s finest search engine optimization gurus, Greg Cryns, and will now be offering his services to you, our customers! For you, our customer, this means that we now have added expertise in driving targeted traffic to your website. Greg has over a decade worth of search…
Below are my notes from tonight’s FlashMN meeting starring Dustin Tauer. The presentation focused on the new features of Adobe Creative Suite 4. Illustrator CS4 Can create multiple art boards. So, if I wanted to use artwork for the front and back of t-shirt, I would create 2 art boards (up to 100). There are…