Category: Webserver


tested on vesta cp (apach2+nginx+Debian 8.7) this script could be placed into a file called: /scripts/ #!/bin/bash #sh -c ‚tail -f /var/log/vesta/*.log && tail -f /var/log/nginx/*.log‘ & tail -f /var/log/vesta/*.log & tail -f /var/log/nginx/*.log & and you can run it […]


what config file is nginx using? while it is running you can check via: ps uax|grep nginx root       766  0.0  0.0  41540     4 ?        Ss   Sep16   0:00 nginx: master process […]


vim /etc/fail2ban/jail.conf; # open up the config file that defines all the defaults # find those lins: # # Destination email address used solely for the interpolations in # jail.{conf,local} configuration files. destemail = # Choose default action. To […]


but also whole companies from israel are offering tools to nuke off your webserver with „rented“ DDoS attacks vim /etc/fail2ban/jail.local; # add those lines: [apache] enabled = true port = http,https filter = apache-auth logpath = /var/log/apache2/*error.log maxretry = 3 […]


last -x shutdown shutdown system down  3.16.0-4-amd64   Sat Aug 27 16:31 – 16:32  (00:00)     shutdown system down  3.16.0-4-amd64   Fri Aug 26 08:10 – 08:11  (00:00)     shutdown system down  3.16.0-4-amd64   Thu Aug 25 11:04 […]


… if you have ssh properly setup (public-private-key-based-auth) then you can easily connect via sftp to your host and abandon ftp, which is prone to security problems. E.g. with FileZilla to Disable vsftpd service vsftpd stop; # sto vsftpd service […]


it was a bad idea to use the vestacp backup and restore function. unfortunately i believe you are better off restoring every domain by hand. systemctl status apache2.service ● apache2.service – LSB: Apache2 web server    Loaded: loaded (/etc/init.d/apache2)   […]


it should work. apache2 is processing the request. nginx and lighttpd do not support .htaccess files, you will have to change their corresponding config files. 1. ssh into your server 2. go into your domain’s public_html directory cd /home/admin/web/ mkdir […]


Climate Change is affecting all of us. -> „How do we get more detailed information?“ Computer Simulation -> Projects Since was launched the combined computing power of its users has allowed scientists to carry out […]


Setting up a simple SSL configuration Setting up a simple SSL configuration with Lighttpd is quite easy. Though this method should be used with care because this setup will only provide proper encryption, not authentication! The user will be presented […]


the problem is on a hetzner Q7 Server with as little as 512MB RAM, MySQL keeps crashin. what can you do? repartition? -> DANGEROUS and almost impossible without powering down the system. ADD SWAP AS FILE! # check out if […]


vesta cp reported me via mail (VERY GOOD 🙂 test -x /usr/sbin/anacron || ( cd / && run-parts –report /etc/cron.daily ) run-parts: /etc/cron.daily/ntpdate exited with return code 1 try and error2: vim /etc/default/ntpdate; # open up ntpdate config file # […]