🛠️ BWS Development Site

Served on shared port 8080 (dev.local.com)

VIRTUAL HOSTING TEST

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:

  1. Add domains to /etc/hosts: 127.0.0.1 www.local.com blog.local.com api.local.com dev.local.com
  2. Start BWS with the test config: ./tests/test_multisite_shared_port.sh start
  3. Access different hostnames on port 8080
  4. Use curl with Host headers for testing