IIS Default homepage through localhost but not IP Address

Found the issue to be that it was not listening for it's ipaddress to resolve the computer name or website by the ipaddress. Here is how I fixed it.

  1. Go into command prompt.
  2. Type the following commands:
netsh
http
add iplisten <ipaddress>

This will make the computer listen for it's own IP address and allow you to connect to it through HTTP and Computer Name for local websites.