Update server.js

check for lowercase subdomain names