0
Completed
how to setup a website
i keep getting:
The web server software is running but no content has been added, yet.
i added a website + domain
It works!
This is the default web page for this server.The web server software is running but no content has been added, yet.
i added a website + domain
Answer
0
Answer
Declined
Eugene Pankov (Project coordinator) 10 years ago
Uninstall Apache first.
Then your website path is probably set incorrectly. Check /var/log/nginx/<website>.error.log for details.
nothing in the website errorlog, but this is in the error.log
2014/07/01 16:50:36 [emerg] 3784#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 16:50:36 [emerg] 3784#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 16:50:36 [emerg] 3784#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 16:50:36 [emerg] 3784#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 16:50:36 [emerg] 3784#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 16:50:36 [emerg] 3784#0: still could not bind()
2014/07/01 22:13:43 [emerg] 4163#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:13:43 [emerg] 4163#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:13:43 [emerg] 4163#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:13:43 [emerg] 4163#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:13:43 [emerg] 4163#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:13:43 [emerg] 4163#0: still could not bind()
2014/07/01 22:18:44 [emerg] 4197#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:18:44 [emerg] 4197#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:18:44 [emerg] 4197#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:18:44 [emerg] 4197#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:18:44 [emerg] 4197#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:18:44 [emerg] 4197#0: still could not bind()
2014/07/01 16:50:36 [emerg] 3784#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 16:50:36 [emerg] 3784#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 16:50:36 [emerg] 3784#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 16:50:36 [emerg] 3784#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 16:50:36 [emerg] 3784#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 16:50:36 [emerg] 3784#0: still could not bind()
2014/07/01 22:13:43 [emerg] 4163#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:13:43 [emerg] 4163#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:13:43 [emerg] 4163#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:13:43 [emerg] 4163#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:13:43 [emerg] 4163#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:13:43 [emerg] 4163#0: still could not bind()
2014/07/01 22:18:44 [emerg] 4197#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:18:44 [emerg] 4197#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:18:44 [emerg] 4197#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:18:44 [emerg] 4197#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:18:44 [emerg] 4197#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/07/01 22:18:44 [emerg] 4197#0: still could not bind()
Looks like you didn't stop Apache and it's still running. Check with netstat -tlnp | grep 80. Then kill the apache process by the found PID and restart websites from Ajenti.
This doesn't look right. Try fully restarting NGINX: service nginx restart.
Customer support service by UserEcho