This article introduces a way to save your money from renting expensive server or paying for a static ip.
Following steps is tested on TELUS router:
- Find out your Default Gateway by executing
- Type your default gateway IP address in a browser. Login as admin;
- Go to Firewall
- Set DMZ to your computer’s IP (or you can use Port Forwarding on the ports you need to use, e.g. 4848, 8080);
- Go to ip-lookup and take a note of your public IPv4 address;
- Go to no-ip and register an account;
- Apply a hostname and point to your public IPv4 address;
- Login your router again
- Go to Advanced Setup
- At Dynamic DNS (DDNS) settings, choose no-ip and fill out all the information that you just registered on noip.com;
- At this point, you can access your computer from anywhere in the world by using the noip.com domain. However, if you want to use your own domain, simply add a CNAME record to your DNS
If your router doesn’t support noip.com service, then you can use dnspod.com service. In this way, you need your own domain and use dnspod’s DNS service. Dnspod has APIs for you to update your DNS record. Although, you will neet to write an app to monitor your home ip changes.
Note: CNAME record will return an IP from the domain this record pointing. Whereas, URL/Framed URL will just redirect any request to the pointed URL, which is generally slower than CNAME. For setting them, CNAME does not include “http:// ” and URL/Framed URL will include it. For example: