|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Pointing domain name to an IP
I am told to point a domain name to an IP address 210.N.N.N.
But our domain registrar is not accepting an IP address, they requiring to put a name server. What I did was, I used NSLOOKUP to see my name server. The result shows that my name server is 210.N.N.N.pldt.net. I tried to use this name server but unfortunately it doesn't accept the registrar also. What do you think is the best way to do? |
|
#2
|
||||
|
||||
|
Quote:
Name servers are not IP addresses. To point a domain to an IP, you need to point the domain to that IP via DNS (usually BIND). Within the DNS configuration, you setup 2 Nameservers (NS records) which you also point to the IP address(es). Then using those 2 NS records, you place them at the registrar. You may even need to add Domain Hosts at the registrar that point those 2 nameservers to the IP address(es). Are you hosting your own DNS? If so, is this a dedicated server or a server in-house? What OS? |
|
#3
|
|||
|
|||
|
Yes it is a dedicated server with Windows 2003.
|
|
#4
|
||||
|
||||
|
Quote:
Can you paste the DNS config files ... or if you'd rather, you can PM me the info. |
|
#5
|
|||
|
|||
|
Hello,
Actually there are two ways for a domain to point to a server: 1. Using two nameservers (primary and secondary nameservers) Actually the nameservers are pointing to the server IP address of your hosting server. This is most easiest way as most people do that. 2. Configure Zone File Point your domain to the IP address of your hosting server. The zone file should be something like that: YourDomain.com. IN A xxx.xx.xx.x www.YourDomain.com. IN CNAME YourDomain.com. mail.YourDomain.com. IN A xxx.xx.xx.x YourDomain.com. IN MX 0 mail.YourDomain.com. where xxx.xx.xx.x is your hosting server IP address Actually you can do it at your domain control panel easily. Best regards |
|
#6
|
||||
|
||||
|
That is not 2 ways. Nameservers are configured through the zone file as well.
ns1.domain.com, ns2.domain.com, www.domain.com, ftp.domain.com ... all these subdomains, so to speak, are configured through DNS. |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Pointing domain name to an IP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|