I am setting up a site and would like
subhosts for both phpmyadmin and my xcache admin.
I have tried several different methods with no success. The main domain site and
www.domain work perfectly.
I'll call it example.co.uk
www.example.co.uk works fine and using my lighttpd config
example.co.uk also works as expected also using the config
I have the following A Name records set
database and
xcache
I have tried:
Code:
$HTTP["host"] == "database.example.co.uk" {
server.document-root = "/usr/share/phpmyadmin"
}
$HTTP["host"] == "xcache.example.co.uk" {
server.document-root = "/usr/share/xcache/admin"
}
But this isn't working. Instead I am shown a server not found page.
Any help would be appreciated.