Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
/var/www/ does not exist despite placeholder website and apache2 working normally
Newbie question, thanks for your patience. I’m in a mac environment
Neither can I find the directory /etc/apache2/sites-available
I set up droplet web hosting with LAMP, followed one of the tutorials I found on the Digital Ocean forum. The status of the placeholder website hasn’t changed since I set it up successfully, but I can’t find the path now that I wanna change the html file.
I did a basic “index.html” search on all the files, but didn’t manage to find the one that’s hosted.
Would it be at a different place? What am I missing?
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.×