I created new VM with Ubuntu 14.04 and I'd like to setup nginx on it.
I installed nginx via putty ssh connection:
sudo apt-get update
sudo apt-get install nginx
sudo ufw allow 80
However, when I go to server IP in the browser request is timing out. I expected to see an nginx 404 error (I didn't modify nginx config).
Can anybody point me in right direction and tell what I should do to make nginx available by entering server IP?
Thanks in advance.
sudo ufw allow 80
) If you are accessing it on a different network than the server - did you set up port forwarding?ping -c 3 localhost
on the server.