All Questions
185
questions
0
votes
0
answers
93
views
Out of memory: Killed process (apache2). apache2.service: A process of this unit has been killed by the OOM killer
My website was suddenly taken down and the root cause was clearly that it ran out of memory, as revealed by the graph below and the logs from /var/log/syslog on the server that I found from the time ...
0
votes
1
answer
392
views
Getting an error message when trying to run apache2 on ubuntu
Hello i wanna run a server for my php application on apache2, but when i try to download apache2 like it sais on this website https://www.digitalocean.com/community/tutorials/how-to-install-lamp-stack-...
0
votes
1
answer
67
views
Apache2 Not Running Custom PHP App After Uploading to /var/www/html folder
I am installing a software that I bought. It's in PHP. So, I got a DigitalOcean server(ubuntu 22.04). Installed Apache2 and PHP 8.1.
Now, when I upload files to /var/www/html folder, it does nothing ...
0
votes
0
answers
125
views
Apache2 404 Not Found Error for file which really exists in folder
On my ubuntu server i have user farmer inside home/farmer directory i created directories /var/www/html/ and inside html i put file index.html
I have granted following rights to directories and index....
0
votes
0
answers
101
views
Putting a Django application into production on Ubuntu server with Apache2 and Cloudflare
I have this Django application which works very well, but I do not understand at all, how to put it in production on a Ubuntu 22.04 LTS server using apache2 and to link it in HTTPS, on a domain such ...
0
votes
0
answers
42
views
How to get syslogd and/or Apache2 to STOP logging DEBUG messages to console
When I SSH into one of my Linux boxes (Ubuntu 20.04.2), I periodically see messages appear on the console screen:
Message from syslogd@my-hostname at Jan 30 21:35:17 ...
apache2: [MY-APP] DEBUG - 2024-...
0
votes
0
answers
224
views
Getting 404 error for apache `/server-status`
I was told that there's a way to enable a url called http://<your host>/server-status and that this page would show you some operational metrics of the apache service. But every time I visit ...
3
votes
0
answers
191
views
How to investigate 100% CPU load for 15 minutes on random days
"I have a server that runs a website on Apache2 and is behind Cloudflare. The server's normal load, according to 'htop', is 10%. However, at random days/times, the server load spikes up to 100%, ...
0
votes
0
answers
396
views
Set up proxy for Nextjs and WordPress blog
Thanks in advance. I am new to server setup. So pardon me If I used the wrong words.
I am setting up an Ubuntu server to host Nextjs and WordPress blog on the same server.
I have to set up Nextjs on ...
1
vote
4
answers
591
views
Apache2 not listening on SSL on Ubuntu
Trying the configure SSL on Apache2 on Ubuntu server
installed Apache
sudo apt install apache2
Opened ufw firewall
sudo ufw allow 'Apache'
ufw allow https
Installed SSL files in /root/cert
chmod ...
2
votes
0
answers
97
views
Apache2 cannot get authentication to work
Running:
Apache 2.4.41 on Ubuntu 20.04
I am trying to force authentication on /var/www/html but I think I have tried every combination of options possible but every single time it lets people in with ...
0
votes
0
answers
153
views
Can I stop Apache2 server with Caddy in docker container
I'm running a container with Caddy. My website is properly working. I can access it.
The problem is that whenever I visit any page on my website - I can see apache2 that takes a lot of CPU (in top). ...
0
votes
0
answers
51
views
Show content of loaded sites-available in apache2 under ubuntu 18
I accidentally deleted a .conf in /etc/apache2/sites-available.
Is there a way to retrieve the content of it?
When I type a2query -s, I see that the deleted .conf is still loaded, since I did not ...
0
votes
0
answers
53
views
Apache with vhosts: Newly created site opens other site
I have a server with three vhosts, the default (domain.com), site1.com and site2.com. The server is running Ubuntu 22.04 LTS with Apache2. Until yesterday, this server only served the default domain, ...
0
votes
0
answers
61
views
Web server returning high number of 502 and 504s
We have a web application (LAMP stack) with traefik as a reverse proxy that is suddenly giving HTTP 502 and 504 errors on >50% of requests, both for static files and php scripts. In the traefik ...