My server Ip should show website


#1

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


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

#3

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


#4