Map a static hostname to the dynamic IP
Most ISPs provide an IP address that changes frequently or a dynamic IP.
To connect to your device, you will need to know the router's most current IP address.
This issue can be solved by dynamic DNS service.
You can use a static hostname like yourdomain.com which remains unchanged and sign it up for dynamic DNS service.
Dynamic DNS service will check the IP address of your router at a time interval you set(usually 1 to 5 minutes) and map the hostname to its most current IP address.
Sign up for a dynamic DNS account to give your device an easy-to-remember hostname like johncamera.dynu.com.
Download and install our IP update client on your computer that's on the same network.
Our client software will automatically keep track of your dynamic IP changes.
If your router supports our dynamic DNS service, you can also set it up in the router itself then there is no need to run the client software.
By this time, you should be able to access your device from a remote location using your hostname like johncamera.dynu.com!