Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I bought a domain name on godaddy.com let's call it www.website.com, but my server has a dynamic ip, how do I resolve this issue?

What I've tried:

get a dns account at dyndns.com let's call it dns.dyndns.com, so I set up godaddy to forward the domain to dns.dyndns.com.

problem: When the user goes to www.website.com, they see dns.dyndns.com in the url bar. Bad

So then I set up the forwarding on godaddy to forward with domain masking, but then the problem is now that users can't even see url paths/get queries/ or hash marks anymore!

`www.website.com/folder/search?id=4#ajax=4` becomes just 

www.website.com in the url bar. bad!

What do I do?

EDIT:

Ok so, say my godaddy domain name is mysite.com and I have a dyndns account called redirect.com. I set up a cname record on www.mysite.com to go to blah.redirect.com. This works, but when I go to www.mysite.com it shows me the contents of www.redirect.com instead of the contents on blah.redirect.com, what gives?

share|improve this question
1  
I'd just get a static IP or get a professional solution such as shared ,VPS or dedicated. This is technically out of the scope of this site. from the FAQ" and it is not about …Running servers at home" –  Jacob Feb 12 '11 at 23:24
    
I am not running a home media server, this is meant to be a publicized website, albeit in its very very early stages. However, I guess the scope of the questions is still more on the "home hosting" side, so should I ask this on super user instead? Since, at least for the time being, a static ip solution is not yet feasible, due to other constraints. –  Razor Storm Feb 13 '11 at 3:29

4 Answers 4

Assuming this is a web server at home, I'm 80% sure your router will be capable for dyndns. Check your routers manual on how to use it, by it probably involves going to 192.168.0.1, clicking DNS and entering the details for dyndns.

Now there are two things that could happen. Either you have been given a dedicated ip from dyndns that will resolve to your router (where you logged in). Put that on you're DNA record do yoursite.com. Or you have been given a free sub domain such as myfreeaccount.dyndns.org and you are being a cheap skate. Pay the money, get the dedicated IP or DnS service.

share|improve this answer

This is pretty easy in two steps

  1. Setup a DynDNS account and create a host. Lets say you pick host.hopto.org as your site name
  2. In Godaddy go into the DNS Manager in the Godaddy Interface and edit the very first A record (should say @ in the host name column and an IP address in the "Points to" column). Change the IP address to your DynDNS domain name, eg host.hopto.org.
  3. Change the TTL to a really low value. I would change it to half an hour to limit the lag of the IP address updating everywhere.

Hope this helps

share|improve this answer
2  
goDaddy restricts aRecord ip to only ip addresses no domain names allowed =[ –  Razor Storm Feb 12 '11 at 6:30

My suggestion would be to move your name servers to DynDNS, set up your DNS records there, and install one of their dynamic DNS clients somewhere on your local network to keep your dynamic ip address in sync with your DNS records. I use DynDNS and host 6 web sites at home using their dynamic DNS client.

share|improve this answer
    
I tried this, and am waiting for dns propagation, hopefully it works –  Razor Storm Feb 12 '11 at 6:30
    
Ok so, say my godaddy domain name is mysite.com and I have a dyndns account called redirect.com. I set up a cname record on www.mysite.com to go to blah.redirect.com. This works, but when I go to www.mysite.com it shows me the contents of www.redirect.com instead of the contents on blah.redirect.com, what gives? –  Razor Storm Feb 12 '11 at 21:29

You don't want domain masking, you want something like a CNAME record. You would have to look up in GoDaddy's help about how to add it, but it's a standard DNS feature that they certainly support.

share|improve this answer

Your Answer

 
discard

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.