When create a new web site, Internal Server Error 500 message appear, the solution is:
- Open Front-End server.
- open IIS
- Select Application Pools
- From the right side, select SecurityTokenServiceApplicationPool
- Right-Click, Choose Advanced Settings.
- Go to Identity, and set the Farm Admin user.
- Recycle the Application Pool.