My server Ip should show website

Hi my website is on the domain example.com and www.example.com with a redirect. My server IP address is 123.123.123 how can I make 123.123.123 show my website? and not the nginx page

cd /etc/nginx/sites-enabled
cat example.com > default
service nginx reload

I’m sorry, I forgot to mention you should edit default and change example.com to your IP address before reloading Nginx.