This might be a pretty simple question, but if there really is a difference, it can make a huge impact on the performance 🙂
I have a dedicated server hosting my websites and my MSSQL databases.
So here it goes:
Will the performance on the website be better using localhost connecting to the MSSQL database instead of fx. mssql.domain.com (or direct ip adress) ?? 🙂
Using either will not make a difference. But localhost is preferable due to the following:
1 if the ip address changes in the future there will be changes to the code/config file