Welcome! Log In Create A New Profile

Advanced

Re: [HELP] Can't reach my server

basti
March 04, 2013 06:38AM
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:
> Hi,
>
> I followed this:
> https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-6
>
> //
>
> 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
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

[HELP] Can't reach my server

Kaoz March 04, 2013 05:44AM

Re: [HELP] Can't reach my server

basti March 04, 2013 06:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 283
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready