Unable to connect to MSSQL Server after changing the Server name

Solution

Since I had this installed on my local machine, I could access it using the localhost.

Note: You can also use the IP Address to connect as well. This will save a lot of tweaking time.

1. https://social.msdn.microsoft.com/Forums/sqlserver/en-US/8ea7fbb2-9349-4b21-81b1-ad47cc49e8df/cant-login-sql-after-changing-computer-name?forum=sqldataaccess
2. https://serverfault.com/questions/386618/cannot-login-sql-server-after-changing-machine-name
3. https://dba.stackexchange.com/questions/62165/i-cant-connect-to-my-servers-sql-database-via-an-ip-address