Score:0

Getting a timeout error on a newly created Apache2 web server

tf flag

I created a new Debian 12 web server through Vultr. I have uploaded my simple little website up to the /var/www/html directory and when I try to navigate to the ip address, I get a The connection has timed out error. I'm fairly new to setting up a website on a basic Apache2 server, so I don't really know where to start debugging this.

What would the first few steps to debug this? Thanks.

John Hanley avatar
cn flag
Start by researching how Apache is configured. Determine the Apache version, Apache Root directory, Virtual Hosts, firewall, and firewall rules. Then update your question with relevant details. Hint: `Timed out` usually means a firewall blocking the port or Apache is not configured to listen on that port. Your post does not show how you are accessing your server. Use the CLI `curl` to do testing. Use a browser to verify how your site appears once you have the fundamentals configured.
Score:0
tf flag

Ultimately, the issue was that I didn't have port 80 open. I ran ufw allow 80 and my site was instantly accessible from the IP address.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.