Neue Domain erstellen - DNS Einträge via Shell
Erscheinungsbild
Domain Erstellen
sudo nine-manage-vhosts virtual-host create example.com
sudo nine-manage-vhosts virtual-host create example.com --webroot=/home/www-data/example.com/web --template-variable=PHP_VERSION=7.2
Subdomain erstellen
sudo nine-manage-vhosts virtual-host create sub.example.com
Domain löschen
sudo nine-manage-vhosts virtual-host remove example.com
Alias erstellen
sudo nine-manage-vhosts alias create example.net --virtual-host=example.org sudo nine-manage-vhosts alias create www.example.net --virtual-host=example.org
Alle Domains aufliesten
sudo nine-manage-vhosts virtual-host list
Hilfe
sudo nine-manage-vhosts help
Symlink Datei auf nine
ln -s /home/www-data/echte_Datei /home/www-data/Symlink
Symlink Ordner auf nine
ln -s quelle/ ziel
Alles
nine-manage-vhosts webserver reload nine-manage-vhosts virtual-host create <domain> [--user=<user>] [--webroot=<webroot>] [--template=<template>] [--no-notify-services] nine-manage-vhosts virtual-host update <domain> [--user=<user>] [--webroot=<webroot>] [--template=<template>] [--no-notify-services] nine-manage-vhosts virtual-host remove <domain> [--no-notify-services] nine-manage-vhosts virtual-host show <domain> nine-manage-vhosts virtual-host list [--json] nine-manage-vhosts virtual-host notify-services <domain> [--force] nine-manage-vhosts alias create <alias_domain> --virtual-host=<domain> [--no-notify-services] nine-manage-vhosts alias remove <alias_domain> --virtual-host=<domain> [--no-notify-services] nine-manage-vhosts certificate create --virtual-host=<domain> nine-manage-vhosts certificate remove --virtual-host=<domain> nine-manage-vhosts certificate list nine-manage-vhosts certificate renew-expiring nine-manage-vhosts certificate register-client --contact-email=<contact-email> nine-manage-vhosts template list [--json] nine-manage-vhosts -h | --help nine-manage-vhosts -v | --version