Website opening from IP but not from domain

Hi,

I just finished WordPress on LAMP.

I see the website is up and running well on ip, but when I am browsing through domain it gives error 521.

I am using one click Webmin app on vultr.

Please suggest me something.

Regards
Pratyaksh