Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now
2

First, check that httpd is running with sudo systemctl httpd status. Before we accidentally add a duplicate rule, let's check the iptables rules with iptables -L To be sure we accept all incoming http let's add an ACCEPT to our table sudo iptables -A INPUT -p tcp --dport 80 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT if this doesn't solve the issue, ...


1

The resident size includes shared pages: this includes shared libraries, and in this instance, the apache2 binary itself. The tools you’re using count all this shared memory once per process, but they are only present once in physical memory, so they use far less than you’d expect from adding the resident sizes. To get a better idea of your processes’ real ...


1

Using Ubuntu 18.04, Apache 2.4.29. I think that there is a default vHost in apache2 i.e 000-default.conf. If your site is accessible through IP, you may have disabled this default configuration. A work-around: Edit 000-default.conf and put a redirect there. nano /etc/apache2/sites-available/000-default.conf In 000-default.conf <VirtualHost *:80> ...


1

You need to define a default vhost in your apache configuration. After that, define a vhost with the ServerName of the DNS name on which you want your website to be found. Now requests with that name in the Host header will be handled by that vhost, and any other requests (with wrong or no hostname) will be handled by the default vhost (which should ...


1

When I try to connect from another device, using the local IP address of the Apache server Please post the output of ip addr (or ifconfig) command run as root on the server Please indicate which exact local IP address you tried to connect from other devices at that time. Please indicate the LAN IP address of each other devices you use at the time of ...


1

When I try to connect from another device, using the local IP address of the Apache server, I get error messages in the browser, such as: in Firefox on a Mac, I get 'Unable to connect. Firefox can't establish a connection to the server at localhost.'. If I try to connect using the DuckDuckGo browser on an Android phone, I get 'Webpage not available. The ...


Only top voted, non community-wiki answers of a minimum length are eligible