What is Dynamic DNS?
cPanel's Dynamic DNS (DDNS) lets you automatically update the IP address associated with a domain or subdomain whenever it changes.
It is ideal when:
-
You have a dynamic IP (one that your Internet provider changes periodically).
-
You want to connect remotely to your network or your server.
-
You want to run applications or services from home or the office without a static IP.
With Dynamic DNS you do not need to change the A record manually every time your IP changes. cPanel provides a special update URL that can be called automatically by a router, a script or an application.
How Dynamic DNS works
When you enable Dynamic DNS:
-
You create a subdomain (e.g.
office.example.gr). -
cPanel creates a special A record for this subdomain.
-
It gives you an update URL that updates the IP through an HTTP request.
-
When you call the URL (from a router or a script), cPanel automatically updates the new IP address in DNS.
This way your domain always stays reachable, even if your network's IP changes.
How to set up Dynamic DNS in cPanel
Step 1: Log in to cPanel
-
Go to your cPanel account.
-
In the Domains section, select Dynamic DNS.
Step 2: Create a new Dynamic DNS record
-
Click Create.
-
Select the domain from the list (e.g.
example.gr). -
Enter the subdomain you want to use (e.g.
home.example.gr). -
Click Create.
Step 3: Copy the update URL
-
After creation, cPanel will show you a unique Dynamic DNS URL.
Example:https://example.gr/cpanelwebcall/update?user=username&token=abc123 -
This link automatically updates the IP address of your subdomain.
Step 4: Set up the updating device or script
-
Many routers support Dynamic DNS through a custom URL.
You can paste the update link there. -
Alternatively, you can use a simple cron job or script that calls the URL at regular intervals, e.g. every 10 minutes.
Example on Linux:
curl -s "https://example.gr/cpanelwebcall/update?user=username&token=abc123"
Practical examples
Example 1: Remote connection to the office
A user with a dynamic IP can create office.example.gr and always connect via SSH, VPN or Remote Desktop, without needing to know the new IP every time.
Example 2: Personal web server at home
If you host your own server at home, you can point a subdomain to it with Dynamic DNS so that your site always stays available.
Tips and best practices
-
If you have a static IP, you do not need Dynamic DNS.
-
Do not use DDNS for production websites, as propagation delays may occur.
-
Regularly check that the update URL runs normally (e.g. through the router log or the cron log).
-
If you use a firewall, allow outgoing HTTPS connections to your domain.
-
If you change your cPanel password, you may need to regenerate the token for the update URL.
Frequently Asked Questions (FAQ)
Can I use Dynamic DNS for my main domain?
We recommend using it only for subdomains (e.g. home.example.gr) so that your main website is not affected.
How often can I update the IP?
There is no specific limit, but there is no need to run it more often than every 5 minutes.
What happens if my router or network changes?
Simply configure the new router with the same update URL.
How do I delete a Dynamic DNS record?
On the same Dynamic DNS page, click Delete next to the subdomain you no longer need.
Do I need any additional DNS settings?
No. cPanel automatically creates and updates the A record for the subdomain.
Conclusion
cPanel Dynamic DNS is a very useful tool for anyone who has a dynamic IP and needs reliable access to their network or server.
With a simple setup, the system automatically updates the IP every time it changes, ensuring continuous connectivity.
Konet recommends Dynamic DNS for technicians or companies that need secure remote access, VPN or monitoring, but not for critical production websites.