The web. config files specify configuration settings for a particular web application, and are located in the application's root directory while the machine. config file specifies configuration settings for all of the websites on the web server, and is located in $WINDOWSDIR$\Microsoft.NET\Framework\Version\Config.
The web config record is unequivocal to a web application through a machine config is express to a machine or server. There can be distinctive web config reports into an application however we can have only one machine config record on a server.