I am using CURL to check for the existence of a URL (HEAD request) but when I test it with www.google.com, it redirects me to www.google.co.uk - probab
www.google.com
www.google.co.uk
Try accessing www.google.com/ncr, it'll avoid the redirect to the .co.uk (or any other national) page.
www.google.com/ncr