What I’m seeing is: with www website working fine. But without www it shows other website like advertisement.
I have checked ip address, it shows different.
Try to remove and re-add the domain from the “Addon Domains” section of the Control Panel, upload your website files to yourdomain/htdocs with a FTP client, where yourdomain can be replaced with your domain, and then if the certificate can’t be found for your domain, try to reinstall it again by uploading the Private Key and the Certificate on the fields present on the “SSL/TLS” section of the Control Panel for your domain.
I just noticed that InfinityFree generating hidden CNAME (pointing to *.bodis.com) for their customers new account/domain.
That’s why many their customers complain about his/her site redirects to an ad site.
Sometime the DNS gives correct value (A record), but sometime it doesn’t (CNAME record).