After setting up the website in IIS, you find find that you can visit the website from the server but can't access to it via the LAN.
This is caused by windows firewalls, as it does block the inbound visit initially.
To turn on this,
go to control panel -> system & security -> windows firewall -> advanced setting -> inbound rules -> new rule
in the pop-up window
select port -> tcp & 80 -> allow the connection -> select all including domain, private and public -> give a descriptive name to this rule -> finish.
Now it should work all right.