In your Windows HOSTS file you can set a mapping from your domain to your localhost (127.0.0.1):
Any requests for
example.com will then go to your localhost - this is suitable for testing just on your local machine.
If you want to be able to test this from any machine on your LAN (including phones, tablets, etc.) then you can set an
A record in the DNS Zone for that domain (perhaps for a
localtest. subdomain) that points to the internal IP address of your server. eg.