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.
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 @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