My Neo 6M gps doesnt works on hosted site but it works on localhost!

this blocking function

will screw up the GPS data being received on serial, switch to this instead ?

and you don't have to push data to your hosted server that fast ie: delay(200) ,

say at 2 seconds interval will be more than enough, using millis not delay() AND post data only when latitude or longitude gets changed