Solved

How do i connect my  web sql server using alias  name? the server has configured to connect the sql server by port number

Posted on 2010-11-17
3
679 Views
Last Modified: 2012-08-13
I have created server alias for my sql server. The server is in the public (web). Its configured to connecting  by specific port number. When i connect the server ip  (xxx.xx.xx.xxx , port) its connecting but using alias name its not connecting .. how can i connect my we sql server by server alias name ??
0
Comment
Question by:Varshini
  • 2
3 Comments
 
LVL 4

Expert Comment

by:NGPSoft1
ID: 34155189
Are you also using the port number when using the alias name?  Did you create a DNS record for your alilas name?  Does that alias resolve to the correct IP address if you do an nslookup?
0
 

Author Comment

by:Varshini
ID: 34158723
Yes, i am using port number when i create the alias name. But i did not create the DNS record for the alias name. How can i create that one ????
0
 
LVL 4

Accepted Solution

by:
NGPSoft1 earned 500 total points
ID: 34158838
Are you using an alias with a domain that you own?  If so, you would need to access the Name Server that controls your domain name and create an A record that points to the IP address.  Say for example your sql server was at IP address 123.123.123.123 and your alias is sqlserver.mydomain.com.  You would need to access the Name Servers that controls mydomain.com and add an A record for sqlserver.mydomain.com with an IP address of 123.123.123.123.  The DNS record might look something like this.

sqlserver A 123.123.123.123

0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question