Changing the Base Domain
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
If you started on one base domain and want to move everything to another (say from
coding9.test to my-company.test), change it in one command.
mdocker config set BASE_DOMAIN my-company.testSetting BASE_DOMAIN (or BASE_DOMAINS) is special: config set detects it and
cascades the change automatically —
- regenerates the wildcard certificate for the new domain;
- rewrites the macOS DNS resolver at
/etc/resolver/<new-domain>; - re-renders every project’s override with the new hostnames;
- refreshes the edge stack.
After the switch
Section titled “After the switch”Doing it by hand
Section titled “Doing it by hand”If you ever edit config.env directly instead of using config set, the cascade does
not run — you would need to re-run setup and re-render each project yourself:
mdocker setupfor n in $(mdocker --json ls | jq -r '.[].name'); do mdocker rerender "$n"donePrefer mdocker config set BASE_DOMAIN … — it does all of this for you.
Related
Section titled “Related”- Multiple Base Domains
- CLI:
config - Concept: DNS & TLS
Cookie-Einstellungen
Statistik-Werkzeuge setzen wir nur ein, wenn du zustimmst. Die notwendige Speicherung hält die Seite funktionsfähig; alles andere bleibt aus, bis du entscheidest.
Speichert deine Entscheidung aus diesem Dialog in deinem Browser (localStorage). Kein Cookie, keine Weitergabe an Dritte.
Google Analytics 4 über den Google Tag Manager, um die Nutzung der Seite zu messen. Wird erst nach deiner Einwilligung geladen.