Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have no idea if this is a valid question on these boards but, the community seems so bright here so I'll ask anyway.

I'm tryin gto setup the followign at home.

1) File server via my Western Digital MyBook Live 2TB (NAS) via Ethernet 2) Active Server via my laptop (which will be online 24/7 via Ethernet (wireless)

I have a Thomson TG784 router/modem.

Let's say my external IP is: 84.66.66.66 Internal IP Laptop: 192.168.0.60 Internal IP MyBook Live (NAS): 192.168.0.61

My domain name I own on an external website is: laptop.mydomain.com mybook.mydomain.com

How would fix this so I can connect the domain names to my internal IP's and access them, whenever, whereever I have internet access no matter what computer/system/OS I am on?

I don not have a static IP via my ISP so I'm guessing I have to use a service such as dyndns.org etc.?

Thank you!

share|improve this question
add comment

migrated from stackoverflow.com Apr 2 '12 at 11:59

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 1 down vote accepted

1. Setup Dynamic DNS account.

no-ip.com will do as well as anything listed in this (my) biased list.

The disadvantage of no-ip.com and like is that for free account you get address in the form of yoursomething.no-ip.com. You can of course setup laptop.mydomain.com as CNAME to yoursomething.no-ip.com, but to me it seems "ugly" way. It would be best to use Dynamic DNS provider that will host dynamic DNS for YOUR domain (see the list above).

2. Configure Dynamic DNS client.

You will need client-side software to update you dynamic DNS whenever your IP changes. You have two choices: 1. update dynamic DNS from your TG784 (it does support dynamic DNS) and 2. Install Dynamic DNS client on your laptop. You can update both records from one place since they both point to the same IP, or you can setup one of the records as CNAME to another one or even use single wildcard record (if your DNS provider supports it), or as Ronald suggested use one dynamic DNS record and CNAME both hostnames to it.

3. Setup port forwarding On your router you have to forward some ports to NAS and some to your laptop. If both devices must use same port (like port 80), things become more complicated and I'd just avoid it.

4. Open firewall

On the laptop and NAS, open relevant ports in the firewall (if there is one).

share|improve this answer
    
Or try my baby: net-me.net (BETA started today). –  Alex Apr 2 '12 at 12:25
    
I would advice transferring your domain to the dyndns provider instead of using multiple providers, you'll get a more reliable result. and if your router or nas supports it, use the build in dyndns client instead of using your laptop, that way if you're away (with your laptop) you can still reach your nas after an ip change. –  HTDutchy Apr 2 '12 at 12:32
1  
@s4uadmin I agree. If some DNS provider supported by your router can host your domain, go for it. Maybe even it worth paying to save the hassle of laptop client (which will never be as good as router client). Alternatively, maybe it's worth installing dd-wrt on the router. –  Alex Apr 2 '12 at 12:39
    
Thank you guys! –  Karl Morrison Apr 3 '12 at 12:40
add comment

The way you could get this to work is:

  1. Use dyndns to map your dynamic ip from your ISP to a domainname provided by dyndns
  2. Change your DNS for "mydomain.com", map subdomain.mydomain.com to dynamic.dyndns.org with cname
  3. Map the specific external port to you internal ip in your router.
share|improve this answer
add comment

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.