Lumen help

DNS options

Adding a new domain to Lumen

                if (req.url ~ "/admin" && req.http.host == "www.example.com") {
  // Take action A
} else if (req.url ~ "/admin" && req.http.host == "www.demonstration.com") {
  // Take action B
}