Software Architect
I am a long time user of Digital Ocean, I have managed multiple droplets regularly using CentOS or Ubuntu. So I decided today to use a Fedora 33 instance and install Nginx.
So I did everything as always, my domain is pointing to my droplet IP and it is added in the Network -> domains inside my Dashboard.
I installed Nginx with the dnf install command with version 1.18.0 and it’s running with the following status:
[root@vudbox-fed-sfo2 ~]# systemctl status nginx
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2020-12-15 18:55:16 CST; 24min ago
Process: 827 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 828 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
Process: 829 ExecStart=/usr/sbin/nginx (code=exited, status=0/SUCCESS)
Main PID: 830 (nginx)
Tasks: 2 (limit: 2333)
Memory: 2.1M
CPU: 55ms
CGroup: /system.slice/nginx.service
├─830 nginx: master process /usr/sbin/nginx
└─831 nginx: worker process
Then I tried to visualize the web server response to the IP of the Droplet, so I tried to navigate to it but it prompts “This site can’t be reached”.
What I have tried is?
What I can do…
So I ran out of ideas, I would really appreciate it if someone kind enough can help me to crack this issue.
Thank you very much in advance. Regards.
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 @JWBrownie,
Try to use a tool to see if your DNS is properly loading, It’s a longshot but better safe than sorry. You can use the following DNS Checker
Once you know it’s not DNS, can you please share your Nginx config to see if everything is correct.
And lastly, what the most probable issue is, is the firewall. Please make sure to allow connections on port 80 and 443 from the outside world.
Regards, KFSys
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.