Report this

What is the reason for this report?

NGNIX Installation

Posted on November 2, 2024

Hi, I need help with my NGNIX installation on a DigitalOcean VPC. I can access the NGNIX welcome pages with curl, but not via browser from my laptop. I didn’t have a firewall config at DigitalOcean and UFW is configured like the tutorial. Please help.



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

What is the exact error that you get when you try to access your IP address via your browser?

Sometimes browsers like Chrome, would automatically redirect to HTTPS, so if you don’t have an SSL installed, you will just get a connection refused in your browser.

Make sure that you visit your IP address via HTTP directly instead.

If this is indeed the case, you can also consider installing a free SSL certificate using Let’s Encrypt so that your site will also be accessible via HTTPS as well as HTTP:

https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04

Let me know how it goes!

- Bobby

Heya,

Can you provide more info on the matter, when you open your website what error do you exactly get?

Additionally, the curl, what code does it return

Heya, @growcommunitychurch

Even if you don’t have a firewall explicitly configured for your droplet, DigitalOcean’s Cloud Firewall might have default settings that restrict access. You can check and adjust this in your DigitalOcean dashboard:

  1. Go to Networking > Firewalls in your DigitalOcean dashboard.
  2. If you see any firewall rules applied to your droplet, ensure they allow inbound traffic on TCP port 80.

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.