I’ve been using MAMP on a Mac for several years. I have all my sites set up to be viewed locally at URL’s like http://CH, http://SL, etc.
I just upgraded to a new MacBook Pro and a new operating system (Lion), then upgraded MAMP. I used my old laptop settings as a guide in setting up a website in Dreamweaver, then setting it up with MAMP’s Hosts feature.
However, it doesn’t work. When I navigate to http://SL, I get the message “Google Chrome could not connect to sl.” I get the same message when I navigate to http://localhost
When I type in http://localhost:8888, I get the message “Forbidden - You don’t have permission to access / on this server.”
When I define my site in Dreamweaver and was asked to specify a URL, I tried http://SL and http://localhost/SL. Both prompted the following error message:
“Dreamweaver cannot use the prefix you entered to display live data. Please double-check your site configuration or click on Help for more information on how to correct this problem. (HTTP Error: 0).”
Anyway, can anyone tell me what I’m doing wrong? Again, I want to preview my websites at URL’s like http://SL My websites are located in a top level folder named Sites, just as they are on my old computer. That could be part of the problem; I saw a comment somewhere that I should put my html files in the htdocs folder, which is located inside the Applications folder.
I remember working through all this when I first installed MAMP on my other laptop years ago, but I can’t remember how I fixed it.
Thanks for any tips.
P.S. If it sheds any light on the situation, I can access phpMyAdmin at http://localhost:8888/phpMyAdmin/?lang=en-iso-8859-1&language=English