Fixed bug on domain identification code, which prevented sites starting with www from working.