IIS Deployment Guide for Frontend and Backend Applications

This guide will help you deploy your frontend and backend applications on IIS (Internet Information Services) and configure them correctly.


1. Prepare Application Files

Frontend

  1. Place all your frontend application files in:
C:\inetpub\wwwroot\frontend_folder

  1. Inside the frontend_folder, place your backend published files in a folder named publish:
C:\inetpub\wwwroot\frontend_folder\publish


2. Configure appConfig.json for Frontend

Main Frontend Folder

Edit appConfig.json located at:

C:\inetpub\wwwroot\frontend_folder\appConfig.json

{
  "apiUrl": "http://<MACHINE_IP>/publish/api",
  "Version": "1.0.0.1"
}

Replace <MACHINE_IP> with your actual server IP and make sure the path to the API is correct.

image.png


Assets Folder

Edit appConfig.json located in the assets folder: