Code doesn't work on a custom domain

I have a project with a PHP IP system. The code runs fine on the .glitch.me, but when I run it on my custom domain it doesn’t work.

https://dhhsnewsv2.glitch.me/
https://dhhsnews.riverside.rocks/

Hi River!

Can you explain what your output should be?

Thanks.