Go NaviServer Go! - EuroTcl2024

Mass Virtual Hosting

El cheapo virtual hosting: Dynamically select the serverdir based on the Host header, allowing on-the-fly deployment of new domains.

How?
ns_serverrootproc
Register a script in a server to determine the serverdir
vhostcertificates
nsssl module configuration selecting/mapping certificates to servers
Example:
8 DNS entries point to the demo server. Two of them don't have their own server section in the config: tcl and tk.