user194076
user194076

Reputation: 9017

Reverse proxy subfolder to subfolder

We have a production website: example.com (.Net / Hosted on Azure) IP address: 75.75.75.75

we want to publish some pages on our Wordpress website (IP: 85.85.85.85) but be available on our domain: under here: example.com/articles

We can do articles.example.com with a DNS A record but we need it to be as a subfolder, not a subdomain. Any ideas on how to achieve this?

Upvotes: 1

Views: 348

Answers (1)

Nancy Xiong
Nancy Xiong

Reputation: 28224

To deploy Web App to a Sub-folder on Azure App service, you could add the virtual directory on the Azure app service via going to portal > your App Service > Configuration > Path Mappings > Virtual applications and directories. And add the following and click Save and restart the App Service.

enter image description here

Then you could publish your site's content with select Virtual Path and your app service, then you will access your sites with example.com/test. For more information, you could read this1 and this2.

Upvotes: 1

Related Questions