Hello @Ajinkya Bapat
Your Azure Front Door cloud architecture for WordPress VM-s solution may look like:
1) You need to modify your wp-config.php. It should contain the following settings:
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/');
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/');
or you may change it to your domain
define('WP_SITEURL', 'http://customdomain.com' );
define('WP_HOME', 'http://customdomain.com');
2) Add SSL certificates only to FD
3) To configure an Azure VM as back-end-pool on Azure Front Door, you can do either of the following:
Select Backend host type as Public IP address, select the correct subscription and add the NIC/Public IP of the VM which you want to add as the Backend host name.
Select Backend host type as Custom host and add the FQDN/DNS name of the VM which has the Public IP address and application on it as the Backend host name.
https://gunnarpeipman.com/wordpress-azure-front-door/
If you think your question has been answered, click "Mark as Answer" if just helped click "Vote as helpful". This can be beneficial to other community members reading this forum thread.