By xerxes3117
I am trying to do a simple nginx setup on my DO droplet.
Following this tutorial : https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-16-04
However after the installation when i check for running status using systemctl status nginx I get no issues:
Screenshot
However, when i try to access the server using browser http://ip_address i get no default nginx landing page(as mentioned in the post). I only see cannot GET \ and 404 not found in network window.
What could be the issue here?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi sir,maybe you can try this command
apt -y install nginx
and
nginx
And your screenshot URL is wrong,the proper one is this. You forgot to add a : in it.
We had the issue, that we used the DO firewall and needed to add a rule “HTTP” on both inbound and outbound - after adding HTTP rules it worked. Before we also forgot through using Putty to select our new username instead of root via Putty>Connection>Data>Auto-login name. That got us some errors.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.