{"id":58537,"date":"2020-12-03T09:15:03","date_gmt":"2020-12-03T15:15:03","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=58537"},"modified":"2020-12-03T09:15:03","modified_gmt":"2020-12-03T15:15:03","slug":"how-to-host-dynamic-dns-domains-with-cpanel","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/how-to-host-dynamic-dns-domains-with-cpanel\/","title":{"rendered":"How to Host Dynamic DNS Domains with cPanel"},"content":{"rendered":"\n
cPanel is great for managing websites, apps, and email accounts hosted on servers in data centers, but many people also want to host online services at their home or business. Unfortunately, many residential and business ISPs don\u2019t offer dedicated IP addresses, which means that you can\u2019t use a domain name to connect to services hosted on their networks. <\/p>\n\n\n\n
The solution is dynamic DNS, which automatically updates domain records when IP addresses change. It is incredibly easy to set up dynamic domains in cPanel with our new Dynamic DNS <\/em>tool. In this article, we\u2019ll explain how dynamic DNS works and show you how to configure a domain in minutes. <\/p>\n\n\n\n Dynamic DNS is a system for updating DNS (Domain Name System) records. When you type a URL into a web browser, it asks a DNS server to convert the domain name into an IP address, the unique number that identifies devices on the internet. The server looks at DNS records stored in zone files to find the IP address associated with a domain. <\/p>\n\n\n\n If the IP address changes, as it does on most domestic and business networks, the records quickly become outdated. The server sends the wrong address, and the connection fails. <\/p>\n\n\n\n Dynamic DNS provides a way for devices like network routers to tell servers when their IP address changes. The device connects to a special web address, authenticates, and sends the new IP. cPanel updates the zone records, and the next time someone tries to connect, they get the right IP. <\/p>\n\n\n\n cPanel has supported dynamic DNS domains for many years. In the past, we recommended the cPanel Dynamic DNS Tools<\/a> <\/em>script, which runs on a server on your network and can automatically update zone records.<\/p>\n\n\n\n The script remains a useful option for users with older versions of cPanel, but the Dynamic DNS <\/em>interface introduced in cPanel version 94 simplifies the process, integrating with routers and firewalls without requiring a third-party script. <\/p>\n\n\n\n Managing dynamic domains is a two-step process:<\/p>\n\n\n\n First, we\u2019ll set up the domain. Log in to your cPanel account and navigate to Dynamic DNS, <\/em>which you will find in the main page\u2019s DNS section<\/em>.<\/p>\n\n\n\n Click the Create <\/em>button.<\/p>\n\n\n\n Enter a new subdomain for a domain managed by your cPanel account. For example, if you want to host a file server on a business or home network, you might choose \u201cfiles\u201d as the subdomain.<\/p>\n\n\n\n You can also provide the current IP address of the network or device your domain will point to, although it will be automatically updated once dynamic DNS is up and running. Finally, you can give the domain a name to help you remember what you are using it for; \u201cOffice File Server,\u201d for example. When you click Create <\/em>on this page, cPanel creates the subdomain and generates a unique URL called a webcall. <\/p>\n\n\n\n The webcall is the address that a router or server will use to tell cPanel that its IP address has changed. When cPanel receives a valid message at this URL, it updates the domain\u2019s zone records.<\/p>\n\n\n\n Every router, firewall, and DDNS client has a unique process for configuring custom DDNS domains, so we can\u2019t give precise instructions. <\/p>\n\n\n\n In most cases, you will need to:<\/p>\n\n\n\n You may also be asked to provide an SSL certificate so the device can connect over an encrypted connection. You can view and copy the SSL certificate for your domain by clicking the View SSL Certificate<\/em> button. We strongly recommend using SSL to prevent your username and password from being sent unencrypted. <\/p>\n\n\n\n If you\u2019re having trouble, consult the documentation for your device and its software. Documentation for some of the most popular open-source router and firewall software includes:<\/p>\n\n\n\n Once your device is configured, it will use the webcall URL to contact cPanel when its dynamic IP address updates, ensuring that the service hosted on your network can always be reached at your chosen domain name. <\/p>\n\n\n\n As always, if you have any feedback or comments, please let us know. We are here to help in the best ways we can. You\u2019ll find us on Discord<\/a>, the cPanel forums<\/a>, and Reddit<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":" cPanel is great for managing websites, apps, and email accounts hosted on servers in data centers, but many people also want to host online services at their home or business. Unfortunately, many residential and business ISPs don\u2019t offer dedicated IP addresses, which means that you can\u2019t use a domain name to connect to services hosted […]<\/p>\n","protected":false},"author":77,"featured_media":65601,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[61],"tags":[],"class_list":["post-58537","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-and-tricks"],"acf":[],"yoast_head":"\nWhat is Dynamic DNS?<\/strong><\/h2>\n\n\n\n
Creating DDNS Domains with cPanel<\/strong><\/h2>\n\n\n\n
Create a New DDNS Domain in cPanel<\/strong><\/h3>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
Configure Your Router for Dynamic DNS<\/strong><\/h3>\n\n\n\n
<\/figure>\n\n\n\n