After finishing setting up the droplet and website code, I tried to access the website, but all browsers returned 404. I double checked everything to see possible mistakes I made, but everything looks ok.
Entering the droplet IP on the browser returns the nginx default page, meaning that the droplet itself is fine.
Then I concluded that the problem resides in the address redirection process, I’ve deleted the A and AAAA configs and created them again. Still nothing.
DigitalOcean apparently can’t redirect the url request to my droplet.
From what I’ve seen from other questions, some people are having problems related aswell.
ps aux | grep nginx root 2916 0.0 0.0 141244 7028 ? Ss Jul11 0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on; www-data 2943 0.0 0.0 143832 6336 ? S Jul11 0:00 nginx: worker process www-data 2944 0.0 0.0 143832 6336 ? S Jul11 0:00 nginx: worker process www-data 2945 0.0 0.0 143832 6336 ? S Jul11 0:00 nginx: worker process www-data 2946 0.0 0.0 143832 6336 ? S Jul11 0:00 nginx: worker process root 3121 0.0 0.0 14856 1008 pts/1 S+ 00:04 0:00 grep --color=auto nginx
website: advicequest.com droplet ip: 18.104.22.168
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!