it is actually a configuration error as I am redirecting the subdomain to a local web server. thank you for your time :)