User Tools

Site Tools


computing:wpmultisite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computing:wpmultisite [2019/08/08 17:44] oemb1905computing:wpmultisite [2019/12/30 02:18] (current) oemb1905
Line 12: Line 12:
 ------------------------------------------- -------------------------------------------
  
-First, set up a self-hosted WP instance. If you do not know how to set up a self-hosted WP instance, consider my tutorial Self Hosted WP. Once you have WP up and running, set up multi-site as follows (adapted and simplified from wpbeginner.com):+First, set up a self-hosted WP instance. If you do not know how to set up a self-hosted WP instance, consider my tutorial Self Hosted WP. Before beginning this tutorial, you should complete [[http://example.com|Apache Survival]] for a proper LAMP/TLS setup and then [[http://example.com|Self-Hosted WP]].  Once you have LAMP, TLS, and a Word Press instance up and running, set up multi-site as follows (adapted and simplified from wpbeginner.com):
  
   sudo nano /var/www/site1.com/public_html/wp-config.php   sudo nano /var/www/site1.com/public_html/wp-config.php
Line 66: Line 66:
   sudo certbot --authenticator standalone --installer apache //-d site1.com -d subdomain1.site1.com -d subdomain2.site1.com// --pre-hook "systemctl stop apache2" --post-hook "systemctl start apache2"   sudo certbot --authenticator standalone --installer apache //-d site1.com -d subdomain1.site1.com -d subdomain2.site1.com// --pre-hook "systemctl stop apache2" --post-hook "systemctl start apache2"
  
-You must “Expand” the subdomains for as many as you have 1, 2, 3 … etc., and that's what the additional `d` flags do. After this, navigate back to WP and set-up both sites using the new “My Sites” panel at the top.  +You must “Expand” the subdomains for as many as you have 1, 2, 3 … etc., and that's what the additional ``d`` flags do. After this, navigate back to WP and set-up both sites using the new “My Sites” panel at the top.  
  
- --- //[[oemb1905@jonathanhaack.com|oemb1905]] 2019/08/08 17:41//+ --- //[[jonathan@haacksnetworking.com|oemb1905]] 2019/12/30 02:16//
computing/wpmultisite.1565286284.txt.gz · Last modified: 2019/08/08 17:44 by oemb1905