When developing website on subdomain on Godaddy server you might require to include files, but $_SERVER['DOCUMENT_ROOT'] does not work as supposed to, dolution is really simple, replace $_SERVER['DOCUMENT_ROOT'] with $_SERVER['SUBDOMAIN_DOCUMENT_
Web Development on Subdomains on Godaddy Servers ( $_SERVER[`DOCUMENT_ROOT`] Issue)
January 28, 2013