Eric Logsdon
Eric Logsdon

Reputation: 95

SQL Azure aliasing DNS name

We are setting up some Azure SQL databases that will be accessed by our clients for reporting purposes. When the database is setup in Azure, the SQL server name is in the form server.database.windows.net. Is there some way I can alias the dns name so that it would be something like server.database.contoso.com? This is primarily for "brand recognition" and not hard technical requirement. Would setting up a DNS CNAME work?

Thanks.

Upvotes: 1

Views: 1985

Answers (2)

William
William

Reputation: 3405

You definitely can - just create a CNAME on the domain you want and point it to your .database.windows.net domain.

The trick is that if you do this you then have to append the username with your slug. So, if your original domain was this:

cooldata.database.windows.net

You might have setup an admin called cooldataadmin. If you create an alias pointing from data.cooldomain.com to cooldata.database.windows.ent you would then access the data with the user cooldataadmin@cooldata.

Upvotes: 1

Silvia Doomra
Silvia Doomra

Reputation: 953

No currently you cannot change the DNS name. Check this thread on similar question.

Upvotes: 3

Related Questions