home
clear breadcrumbs
search
login
 
new wordpress website
add or move dns create virtual host: sudo nano /etc/apache2/sites-available/lunayoga.conf
ServerAdmin peteolson3150@gmail.com ServerName lunayoga.us ServerAlias www.lunayoga.us DocumentRoot /var/www/wordpress ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined
sudo a2ensite lunayoga.conf sudo apache2ctl configtest sudo systemctl restart apache2 sudo certbot --apache Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1: No redirect - Make no further changes to the webserver configuration. 2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for new sites, or if you're confident your site works on HTTPS. You can undo this change by editing your web server's configuration. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the appropriate number [1-2] then [enter] (press 'c' to cancel): select 2 ## end server setup ## wordpress setup add site to multisite login to site: https://lunayoga.us/wp-admin settings, permalinks, change to plain appearance, themes, activate theme if this is a transfer: import copy the site directory sudo chown -R www-data:www-data /var/www/wordpress/wp-content/uploads/sites/12 add from server locate the files and import