Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Aliases

Author  Topic 

Pete_N
Posting Yak Master

181 Posts

Posted - 2013-09-27 : 17:22:35
I am trying to set up a few live and development systems all using the same SQL server. I have set up 4 named instances on the SQL server

CrmLive
CrmDev
ShareLive
ShareDev

I need to set up aliases for these four instances, but don't know how

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2013-09-27 : 17:50:41
You can do it through SQL Server Configuration Manager and regedit. I prefer regedit.

The registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo

The registry entry's name will be the alias name. Then you'd specify how to connect in the data value.

Here's an example:
String name: SomeAliasName
Data value: DBMSSOCN,SomeServerName,PortNumber

DBMSSOCN tells it to use the TCP dll.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -