Gitlab pages: verify domain ownership

I’ve been trying to verify my custom domain on gitlab pages but it keeps giving the ‘failed to verify domain ownership’ error. My DNS settings are set like this. On gitlab i’ve added the domain in the settings/pages tab.

When going to the domain now, it only shows a gitlab 404, which is the exact same as just entering ‘52.167.214.135’ in the address bar. I’ve waited a few days for the verification.

What am i doing wrong, and how can i fix it?

(Note: The TTL of 1min is only temporary for testing purposes)