Connection Data Source name

Cidr 21 Reputation points
2021-06-22T06:06:43.947+00:00

Hi,

I'm a little stumped here. I have a server I inherited that allows connections from an alias. The windows server is hosted on an AWS EC2 instance.

AWS EC2 Server host name = sql123
I can also connect using = cubes.com (as in connecting to ssas/sql engine or connecting using client tools-excel- using the connection string Data Source)
cubes.com allows the connection string to remain the same for users if the data source is moved to another server.

I thought it was an alias in the DNS but I can't see this set up. Is there anywhere else I should be looking?

Any help would be appreciated.

Thanks

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,809 questions
SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,247 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 41,001 Reputation points
    2021-06-22T06:42:22.83+00:00

    An alias can be defined in "hosts" files, located in folder
    C:\Windows\System32\drivers\etc\
    it's a simple text file with host name + IP address. => Host Names and IP Addresses

    For SQL database engine you can define a "SQL Alias" on the client machine
    Create or Delete a Server Alias for Use by a Client


  2. AmeliaGu-MSFT 13,961 Reputation points Microsoft Vendor
    2021-06-22T07:34:29.077+00:00

    Hi Cidr-4920,
    Welcome to Microsoft Q&A.
    Could you please share us the connection string you are using?
    I think you may use the Fully Qualified Domain Name (FQDN) to connect to SQL Server.
    For default instance, the format is computer_name.domain_name .
    You can go to Control Panel –>System and Security –> System-> Computer name, domain and workgroup settings to check if the domain name is cubes.com.
    108003-image.png
    You also can check it from the Domain Controller-> DNS manager->Forward Lookup Zones->domain name-> right-click the host name->Properties.

    108062-image.png

    108063-image.png

    Best Regards,
    Amelia


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments