To overcome this, you can use a Dynamic DNS service. When you are registered as a DDNS user, a special software running on your computer or router keeps it available by a static host name. For more information, see Dynamic DNS.
Many home networking routers support several DDNS providers out of the box. To see if your router supports it, check your router documentation.
A list of free Dynamic DNS service providers is available at DDNS — Free Dynamic DNS Providers.