There are several ways to achieve this, none of them are particularly reliable as long-term solutions, but you say that you just need something temporary until the developer returns.
If everything matches the domain (if your remote URL does not match the local host), you can edit your localhost entry in the hosts file.
In system32 \ drivers \ etc, copy the "hosts" file to your desktop. Open in notepad and change this line:
127.0.0.1 localhost
Change the IP address (127.0.0.1) to the remote domain. Then copy the hosts file back to the directory etc. (Note: it is not possible to edit this file directly as Administrator or otherwise).
If you have multiple domains in a remote web service, in IIS you need to change the website to serve requests to "localhost", this may seem a little strange, but it will work because your machine will make requests to the server IP address, but specify the request domain as "localhost". Right-click the website in IIS and select properties, and then add the "localhost" domain to the list of HTTP header values supported by this website. You can ignore all this if your website in IIS will serve content if you access it through an IP address. If this single IP address is shared between several websites (this is usually the case), you will get a "Bad hostname" error from IIS as it tries to search for "localhost" and cannot find which website should send the request to .
Another possibility is to use a personal proxy server called Proxomitron . It is a bit old and is no longer under development, but it is very easy to set up and very durable.
After you installed it, open it and click "Config" - change the port where it listens to 80. Then you need to create a redirection rule (this is not a redirect, but rather a rewrite of the URL), you will need to quickly read the docs to understand how to add your own call forwarding, but there are many samples that come with the application. The rule you are looking for is RDIR:
$ RDIR () More discreetly and redirects the connection to Proxomitron without specifying your browser. This is useful when you want your browser to think that this is happening in one place, when in fact it is happening somewhere else.
source share