Added runserver validation to detect if DEBUG=False and ALLOWED_HOSTS is empty.

Refs #19875.