jyr / MNPP

Mac + Nginx + Percona + PHP a high performance web server in a one-click installer
http://getmnpp.org
314 stars 49 forks source link

"The Page is temporarily unavailable" error when accessing any *.local enabled sites #48

Closed tylerwillingham closed 11 years ago

tylerwillingham commented 12 years ago

I've tried to access mnpp.local and phpmyadmin.local but when I try to access either of these URLs I get the error: "The page you are looking for is temporarily unavailable. Please try again later."

I can successfully access the welcome page at http://localhost

I'm running a fresh install of MNPP on OS 10.8.

I would be more than happy to assist with any debugging in any way that I can. I'm excited to give MNPP a shot :)

ghost commented 11 years ago

I'm having the same issue when I do the testing on my Mac. Every time when I type "mnpp.local" the browser shows me the google search page (I'm using Chrome). But when I switched to safari, it shows me the "The page you are looking for is temporarily unavailable. Please try again later." message.

localhost works thought.

jyr commented 11 years ago

Hey fellas!

Look the next issue https://github.com/jyr/MNPP/issues/11 and let me see is fixed.

yuanzhou commented 11 years ago

Hi jyr, I did check my /etc/hosts and below is what it contains:

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1   localhost
255.255.255.255 broadcasthost
::1             localhost 
fe80::1%lo0 localhost
127.0.0.1 mnpp.local

I still don't know why mnpp.local doesn't work on my Macbook Pro with OS X 10.7.5. Seems I'll need to use different IP address for mnpp.local and each other virtual host to make them work.

jyr commented 11 years ago

Check that have you https://github.com/jyr/MNPP/blob/master/conf/nginx/sites-available/mnpp.local

yuanzhou commented 11 years ago

Yes, I have the config mnpp.local and it comes with your package.

jyr commented 11 years ago

ok, paste the log of this vhost, try with /Applications/MNPP/logs/nginx/mnpp.local.bla

ghost commented 11 years ago

maybe add DNS-Server to package manager without edit /etc/hosts .. only /etc/resolv.conf

kris-anderson commented 11 years ago

I'm having the same issue on 10.8.3. Loading mnpp.local in my browser gives me the following message:

"The page you are looking for is temporarily unavailable. Please try again later."

Here is the results from the nginx access log:

2013/03/18 01:36:19 [error] 1174#0: 1 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: 127.0.0.1, server: mnpp.local, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mnpp.local" 127.0.0.1 - - [18/Mar/2013:01:36:19 -0700] "GET / HTTP/1.1" 502 383 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22" 2013/03/18 01:36:20 [error] 1174#0: 1 open() "/Applications/MNPP/htdocs/mnpp/favicon.ico" failed (2: No such file or directory), client: 127.0.0.1, server: mnpp.local, request: "GET /favicon.ico HTTP/1.1", host: "mnpp.local" 127.0.0.1 - - [18/Mar/2013:01:36:20 -0700] "GET /favicon.ico HTTP/1.1" 404 570 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22"

theDanielJLewis commented 11 years ago

Any updates to this?