Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I want my domain name to point to my static IP address. Where should I start?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Create a host (A) record for your domain name set to your static IP. IN A

In response to your comment, nameservers are declared using NS records: IN NS IN NS

This tells the world that both and host your domain and can provide authoritative answers to queries. Note that dns1 and dns2 must have valid host (A) records in your domain as well. It is highly recommended to have nameservers in different subnets. (just ask Microsoft)

share|improve this answer
Thanks. What if I want to set name servers? Like, So other domains can point to mydomain? –  webnat0 Jan 23 '11 at 23:18
@Daeyun: see my edit –  squillman Jan 23 '11 at 23:21
Hmm. I'm still having some problems. This is what I did. I installed ubuntu on Amazon EC2 and installed LAMP with Virtualmin. Then I went to GoDaddy's DNS manager and changed the host (A) record to my elastic IP. –  webnat0 Jan 23 '11 at 23:40
@Daeyun: it can take up to 48 hours for dns changes to propogate. Might need to give it some time. –  squillman Jan 24 '11 at 1:18

There are some free DNS websites with severl useful resources. I used for setting up mine to start with until I set up a server to host it myself.

Dyndns is good, but if your address is static you had to either pay for the service or continue to follow links in emails they sent to keep the dns active. I also found the free service rather limited.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.