It would be highly recommended that a subdomain that doesn't exist present a "Create? Yes or No" prompt.
Anything definitive always needs confirmation as a security measure, part of the user's UX.