Why won't my arduino code upload data to database>?

My MySQL database is not running locally, it's on a remote (annually rented) server. I give the address of that server as an "xyz.co.uk" address rather than an IP address.