Development Environment
This is the development version of the BWS website, running on a separate port for testing new features.
Virtual Hosting Configuration
All sites now share port 8080 but use different hostnames:
- Main Site: www.local.com:8080 → examples/sites/static/
- Blog: blog.local.com:8080 → examples/sites/static-blog/
- API Docs: api.local.com:8080 → examples/sites/static-api/
- Development: dev.local.com:8080 → examples/sites/static-dev/
Virtual Hosting Features
- ✅ Multiple sites sharing same port (8080)
- ✅ Different hostnames (virtual hosts)
- ✅ Separate static directories
- ✅ TOML configuration
- ✅ Site-specific headers
- ✅ API-only sites
Testing Instructions
To test virtual hosting, you need to:
- Add domains to /etc/hosts:
127.0.0.1 www.local.com blog.local.com api.local.com dev.local.com - Start BWS with the test config:
./tests/test_multisite_shared_port.sh start - Access different hostnames on port 8080
- Use curl with Host headers for testing