I have a simple HTML page hosted on an old mac desktop (Catalina) on the in-built apache server.
The problem is when I browse to the IP on chrome after a while, the website is down. But as soon as I tunnel into the machine using SSH, it comes back online.
The apache server is running, because the sudo apachectl start code gives the response that it's up:
/System/Library/LaunchDaemons/org.apache.httpd.plist: service already loaded
I'm new to servers and I'm not sure why the website is going to sleep. Any help would be appreciated!