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
671 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
In this article I will describe the Detach & Attach 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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

809 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