Corrected Error

SERVER_NAME without a subdomain resolved as "com"
FIXED