Setting Up a SQL Server Alias with SharePoint Server 2010

Using a SQL Server alias, you’ll be able to change the database server in your SharePoint farm.  In addition, setting an alias should really be a best practice for most new farm builds.  This technique is useful when moving or virtualising your database server, setting up a test environment, or especially when migrating from SQL Server 2008 / 2008 R2 to SQL Server 2012.

Repeat the following steps for all your SharePoint Frontend and Application Servers. Important: Only do this on the SharePoint Servers. Don’t do this on the SQL Server!

The steps we’re going to run include the following:

1. Setup the alias using 32-bit config tool.

2. Setup the (same) alias using 64-bit config tool.

Let’s begin…

1. Run the 32-bit SQL tool.  Run the following application, “C:\\windows\\system32\\cliconfg.exe”

Select the tab “Alias” and click the button “Add”.


Select “TCP/IP” and define the name of your original server (as the alias). Next, fill in the new server name of your database server and select the “Dynamically determine port”-checkbox. After that click “OK”.

Note 1: If you know the port, you will actually want to uncheck the “Dynamically determine port”, and set the fixed value.

Note 2: If your new (or old) server is using an instance, be sure to include that, for example, something like NewServerName\INSTANCENAME


Now you have defined your SQL alias name. Click “OK”.


Note: It’s recommended that you should setup an alias for the server name itself, as well as it’s fully qualified name – for example, setup an alias for “OriginalServerName”, as well as “”.

2. Run the 64-bit SQL tool. Run the following application, “C:\\windows\\syswow64\\cliconfg.exe”

Using the 64bit tool, repeat all the same steps you did above.

After you’ve completed steps (1) and (2) on each SharePoint Server, you can either create your new farm or startup your existing farm, and it should be working again with your new alias.

Original Source: – Many thanks!

One response to “Setting Up a SQL Server Alias with SharePoint Server 2010

Comments are closed.