Okay, well, I sort of went down the rabbit hole of errors, beginning by attempting to change my newly-made directory ownerships (/var/www/documents and /var/www/projects) to the point where I’m at in the question title above. For reference, I have read the related question, but all seemed fine on that front.
Changing Directory Permissions
First, I visited this piece on GitHub and followed their instructions to
chmod 701 user_home. Files I placed in my newly-made directories above would produced a 403 error—I couldn’t read them. If I do resolve the below, this problem still remains.
Unable to Resolve Host
Since that, upon trying to
sudo service nginx restart, I’ve been getting the above host resolution error. I’m running Ghost. Now, I have an ERR_CONNECTION_REFUSED, and nothing is loading.
Server + Site Information My /etc/hosts and /etc/hostname contents are below respectively. My droplet’s name is Dizaztrous.
127.0.0.1 localhost.localdomain localhost 127.0.0.1 localhost4.localdomain4 localhost4``` ```::1 Dizaztrous Dizaztrous ::1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6``` /etc/hostname `ghost` My site is [www.fromthehiptoss.com](http://fromthehiptoss.com). The realm of server-side maintenance is something I've been barely scraping by with, and it's finally hit me now. I'll be happy to answer any questions you may have, as I'm at a bit of a loss with my site down. Thank you! **TLDR Sorry, I'm a bit lengthy—tried to change directory permissions and ended up downing my entire website.**
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!