Forum Moderators: phranque
redirect the root of the sub-domain to the main domainSorry, but that is a bad idea, a 410 response is ideal but even a 404 is better than redirecting to the root domain. That creates a 'soft 404' which is something repulsive to Google.
Internal Server ErrorThat, unfortunately, is a problem only you can research. Look closely at the part of the config file that's specific to the subdomain, or the htaccess (if shared hosting on Apache). Note that you can only redirect from a hostname (subdomain or whole domain)--or return other responses such as 410--if you retain access to the host.
Additionally, a 500 Internal Server Error error was encounteredYup, that's the typical response when there is something wrong with the entire host rather than just some specific requested URL. Server looks for