This can be considered to be an optional extension to the series of articles I published a couple of months ago about how to run Joomla (and other PHP-based websites) under Microsoft Internet Information Services (IIS).
This is primarily based on information found here:
When the IIS websites are set up as described i this article: Joomla on IIS - Part 7 - Preparing for a new website
then browsing the website with a local browser while connected to the server PC with RDP can be problematic if a DNS mapping for the website's domain name is not available.
This can be "fixed" by adding an entry to the system's hosts file. This is a text file that can be found at %SystemRoot%\System32\drivers\etc\hosts, for example at C:\Windows\System32\drivers\etc\hosts.
Here's an example of what this file can look like, after a couple of entries have been added:
# Copyright (c) 1993-2009 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 22.214.171.124 rhino.acme.com # source server
# 126.96.36.199 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
Then what's needed is to add an entry to the Bindings for the IIS website. For example:
Now you can start a web browser on the PC that IIS is running on and test the website, even if you don't yet have a DNS mapping defined for the website's domain name.
(Sorry for the Modesty / Merlinia confusion. At the time this screen shot was made I was temporarily using the "modesty" name to test a new Merlinia website.)