I have a centos server with nginx running on it.
The server ip recently changed and nginx no longer starts up
it gives the following error message where 123.123.123.123. is the old ip address of the server
Starting nginx: nginx: [emerg] bind() to 123.123.123.123:80 failed (99: Cannot assign requested address)
Where is it reading the old IP address from?
Best Answer
Yes, paths to check seems to be:
Maybe the Nginx configuration files are also in different directory. I had these in /home/admin/conf/web (VestaCP control panel?)
Then do "service nginx restart" command.