To allow the intranet site to be accessed using the hostname instead of just the IP address, you need to configure the Forward Lookup Zone in the DNS server. This configuration involves creating DNS records that map the hostname of the intranet site to its IP address. By doing this, the DNS server can resolve the hostname to the correct IP address, enabling users to access the site with the hostname.
- The Forward Lookup Zone is responsible for translating domain names (hostnames) to IP addresses.
- Without this configuration, the DNS server doesn't know how to resolve the hostname to the IP address, hence the connection fails when using the hostname.
- Configuring a proper A record (address record) in the Forward Lookup Zone with the hostname and the corresponding IP address of the intranet site will solve this issue.
This is the standard approach when an intranet site is reachable by IP but not by hostname within a local network environment.