The path that you have given for the Master File is not correct when you have hosted it. Might be, the path in local environment was working fine but not in hosted environment.
Use
ResolveUrl to refer the path of the MasterPage. It would make sure that the path is correct in both the cases.
Have a look at this Tip/Trick:
For resolving URL's[
^]