The solution for this is to add homePage"" specific url you want to run website and make a subdirectory on IIS and place your build on this subdirectory folder and your website will run perfectly.