reCAPTCHA showing an error, even though the keys are correct

I've checked and triple checked the keys for the reCAPTCHA on my registration page. Still, in the space where the reCAPTCHA code should be, there is this error: "Error for the site owner Invalid domain for site key."