Custom domain not working

So I added my custom domain which is www.apessmartsolutions.com to github pages and added the records to the DNS provider but still when I try opening it doesnt work and it tells me that the site cant be reached I tried using https://www.whatsmydns.net/#CNAME/www.apessmartsolutions.com
and i think it resolved right but still it is not working where could the problem be

Hi @Abdelrahman-Shahda, welcome to the GitHub Support Community! Looking at the DNS records for the www domain it seems to be set up correctly. I can visit your site and it seems to be loading.

However, it looks like there’s an A record set up for the apex domain (apessmartsolutions.com) that isn’t pointing towards GitHub. It’s recommended that you point the apex domain and the www subdomain towards GitHub so that your site still loads even when users leave out the www.