How can I run both nginx and Apache together on Ubuntu?

go to /etc/nginx/sites-available then modify the host file which should listen to a different port (if you didn’t change anything here you will find a default file, enter to change it)

in the file change listen: 80 to the port you want to listen to

don’t forget to reload the service: service nginx reload

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)