The influence of flow configuration on flame-wall interaction (FWI) of premixed flames within turbulent boundary layers has been investigated. Direct numerical simulations (DNS) of two different flow configurations for flames interacting with chemically inert isothermal and adiabatic walls in fully developed turbulent boundary layers have been performed. The first configuration is an oblique wall interaction (OWI) of a V-flame in a turbulent channel flow and the second configuration is a head-on interaction (HOI) of a planar flame in a turbulent boundary layer. These simulations are representative of stoichiometric methane-air mixture under atmospheric conditions and the non-reacting turbulence for these simulations corresponds to the friction velocity based Reynolds number of \(Re_{\tau }=110\). It is found that the mean wall shear stress, mean wall friction velocity and the mean velocity statistics are affected during FWI and the behaviour for these quantities varies under the different flow configurations as well as for the different thermal wall boundary conditions. The behaviour of the quenching distance and mean wall heat flux under isothermal wall conditions is found to be significantly different between the two flow configurations. The variation of the non-dimensional temperature in wall units for cases with isothermal walls suggests that the temperature in the log-layer region is significantly altered by the evolving wall heat flux in both flow configurations. Statistics of the mean Reynolds stresses and turbulence dissipation rate show that the flame significantly alters the behaviour of turbulence due to thermal expansion effects and flow configuration plays an important role.