8 sites
Kiara Grouwstra edited this page 2023-12-12 13:57:40 +01:00

huidige sites

zie landschap, of:

wordpress info

server maken

site maken

  • fix DNS
  • server configuratie toevoegen:
    • gebruik voor $SERVER op wordpress servers apache2, voor andere sites nginx
    • config in /etc/$SERVER/sites-available/$SUBDOMAIN.bij1.org.conf
    • symlink via sudo ln -s /etc/$SERVER/sites-available/$SUBDOMAIN.bij1.org.conf /etc/$SERVER/sites-enabled/$SUBDOMAIN.bij1.org.conf
  • zet files in /var/www/$SUBDOMAIN, zoals voor wordpress
  • zet eigenaar: sudo chown -R www-data:www-data /var/www/$SUBDOMAIN
  • maak TLS certificaat met certbot
  • voeg eventueel toe in proxy als nginx configuratie in proxy.bij1.net

wordpress

troubleshooting

  • (nieuw) bestand lijkt niet door te komen: check de locatie
  • thema laat cover dubbel zien en content helemaal niet: zorg dat de Polylang plugin geconfigureerd is
  • kan geen bestanden aanmaken: chown -R www-data:www-data /var/www/<SITE>

statische sites

op static.bij1.net (via nginx)

onderhoud

zie sysadmin