My setup is:
- Nginx(80) as a transparent proxy
- Apache(81) as back-end web server
The paths to each domain on the server are like this:
/var/www/$username/data/www/$domainname
Of course to access the files you need to use the domain name of each website. But I want a way to access all the domains using an URL like this:
http://dm.some.com/clientdomain.com
How can I do this? This URL will be used to access ONLY static files, so I think it will be best to use Nginx for this.