user.example.com/test redirects to http://www.example.com/?user.example.com
www.example.com/test redirects to http://www.example.com/?www.example.com
example.com/test redirects to http://www.example.com/?example.com
test.example.com redirects to http://www.example.com/?test.example.com