home
clear breadcrumbs
search
login
 
Web server setup
Setting up web, ssh server assign static ip address wan and lan forward ports create virtual host file /etc/apache2/sites-available/nameofhost.conf
ServerName pete-olson.com ServerAdmin peteolson3150@gmail.com DocumentRoot /var/www/html
Options Indexes FollowSymLinks AllowOverride All Require all granted ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined
sudo a2ensite sudo systemctl reload apache2 renew certificates: certbot renew Check expiration dates: sudo certbot certificates Delete certificate: sudo certbot delete Add certificate: sudo certbot --apache select the from the list of (enabled sites) Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress. add this to wp-config.php ** put this above the multisite code ** define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] ); mysql: mysql -u root -p To change the default login directory for vsftpd, change the ftp user home directory in /etc/passwd: ftp:x:116:116:vsftpd daemon:/var/vsftpd:/bin/false