Hi, I followed this: https://www.digitalocean.com/community/articles/ho... // Starting nginx: [ OK ] // ps -ef | grep nginx: root 1739 1714 0 09:40 pts/0 00:00:00 vi /etc/yum.repos/nginx.repo nginx 24053 24052 0 11:28 ? 00:00:00 php-fpm: pool www nginx 24054 24052 0 11:28 ? 00:00:00 php-fpm: pool www nginx 24055 24052 0 11:28 ? 00:00:00 php-fpm: pool www nginx 24056 24052 0 11:28 ? 00:00:00 php-fpm: pool www nginx 24057 24052 0 11:28 ? 00:00:00 php-fpm: pool www root 24093 1 0 11:34 ? 00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf nginx 24095 24093 0 11:34 ? 00:00:00 nginx: worker process nginx 24096 24093 0 11:34 ? 00:00:00 nginx: worker process nginx 24097 24093 0 11:34 ? 00:00:00 nginx: worker process nginx 24098 24093 0 11:34 ? 00:00:00 nginx: worker process root 24105 23964 0 11:36 pts/2 00:00:00 grep nginx // I can ping the server but I can't reach the server through the IP. If someone can help me, it would be great ! :) www.conf: http://pastebin.com/7HmPUwS2 default.conf: http://pastebin.com/7Gpjf3rc nginx.conf: http://pastebin.com/Hq6be91p Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236896,236896#msg-236896
on 2013-03-04 11:44
on 2013-03-04 12:36
Have you try localhost on the server (use lynx or somethink else)?
I think the default.conf is it:
server {
listen 80;
server_name localhost;
...
will be only used if you do something likehttp://localhost
So change it to your domain.
Basti
Am 04.03.2013 11:44, schrieb Kaoz:
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.