Multiple Base Domains
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
MultiDocker can serve projects under several base domains at the same time — for
example coding9.test and client-a.test. The base domains are stored
space-separated in config.env as BASE_DOMAINS, and index 0 is the primary.
Manage base domains
Section titled “Manage base domains”mdocker config domain list # current base domainsmdocker config domain add client-a.test # append a base domainmdocker config domain remove client-a.test # remove onemdocker config domain primary client-a.test # move it to the front (make it primary)Each of these commands cascades automatically: the wildcard certificate is regenerated, the DNS resolver is updated, the edge stack is refreshed, and all registered projects are re-rendered so their routing stays consistent.
The primary domain matters
Section titled “The primary domain matters”The primary base domain (index 0) is what new projects default to when you don’t pass
--host at init, and it’s the domain used to
derive default hostnames like <name>.<primary>. Use config domain primary to
change which one leads.
Related
Section titled “Related”- Changing the Base Domain
- Hostnames & Routing
- 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.