Bindings
Adjust HTTP, SSL or AJP bindings per site using CommandBox Multi-Site
Last updated
Was this helpful?
Was this helpful?
{
"profile":"production",
"directoryBrowsing":false,
"hostAlias":"example.com,www.example.com",
"GZipEnable":false
}server info --verbose
- site1: http://site1.com:80 --> C:\path\to\site1\
Bindings:
- 0.0.0.0:80:site1.com
- site2: http://site2.com:80 --> C:\path\to\site2\
Bindings:
- 0.0.0.0:80:site2.com
- site3: http://site3.com:80 --> C:\path\to\site3\
Bindings:
- 0.0.0.0:80:site3.com
- default: http://127.0.0.1:80 --> C:\path\to\default\
Bindings:
- 0.0.0.0:80:*
- Default Site
Listeners:
- HTTP
- 0.0.0.0:80
server open siteName=site3{
"webroot" : "www/default",
"default" : true
}