0
votes

I have a webforms application that is hosted on an Azure VM that is deployed within a virtual network on Azure. The virtual network is subsequently connected to our on-premise servers via VPN connection and we are able to access the form application from 10.101.1.5/forms

How can I create a URL redirect/alias so that when users type /webforms they will be redirected to the application at 10.101.1.5/forms. Would this need to be put in place on the server of the on-premise device or on the Azure VM

1
Aside from putting an alias in the hosts file? - David Makogon
I have updated the hosts file on the Azure VM server to contain 10.101.1.5 but if I type the name it wont resolve, I also want to go to the /forms level of the URL redirection, the application is hosted on an Apache web server and I have only real had experience with IIS to date so I am unsure about this - Jay

1 Answers

0
votes

The alias should be on premise. The rest is just redirecting the request to 10.101.1.5 and this should directly work as both machines are on the same subnet.

Hope this helps!