<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GoDaddy &#8211; Rentrex Ltd.</title>
	<atom:link href="https://www.rentrex.ca/tag/godaddy/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.rentrex.ca</link>
	<description>IT Services</description>
	<lastBuildDate>Thu, 02 Mar 2023 00:07:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.5</generator>

<image>
	<url>https://www.rentrex.ca/wp-content/uploads/2023/02/RentrexIconComputer-150x150.png</url>
	<title>GoDaddy &#8211; Rentrex Ltd.</title>
	<link>https://www.rentrex.ca</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Forwarding URLs GoDaddy</title>
		<link>https://www.rentrex.ca/how-to/forwarding-urls-godaddy/</link>
					<comments>https://www.rentrex.ca/how-to/forwarding-urls-godaddy/#respond</comments>
		
		<dc:creator><![CDATA[Adriano Salvatore]]></dc:creator>
		<pubDate>Wed, 01 Mar 2023 21:43:00 +0000</pubDate>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[GoDaddy]]></category>
		<category><![CDATA[networking]]></category>
		<guid isPermaLink="false">https://www.rentrex.ca/?p=441</guid>

					<description><![CDATA[If you have a secondary domain that you&#8217;d like to use for your website in addition to your primary domain, forwarding will have the secondary domain redirect to the primary. For example if your website is &#8220;mysite.com&#8221;, and you have purchased &#8220;my-site.com&#8221; as well, &#8220;my-site.com&#8221; can be forwarded so when it&#8217;s entered the user is [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>If you have a secondary domain that you&#8217;d like to use for your website in addition to your primary domain, forwarding will have the secondary domain redirect to the primary.</p>



<p>For example if your website is &#8220;mysite.com&#8221;, and you have purchased &#8220;my-site.com&#8221; as well, &#8220;my-site.com&#8221; can be forwarded so when it&#8217;s entered the user is automatically directed to your primary domain.</p>



<p>First start by logging into GoDaddy&#8217;s website.</p>



<div id="gspb_image-id-gsbp-103bb686-6aec" class="gspb_image gspb_image-id-gsbp-103bb686-6aec wp-block-greenshift-blocks-image"><img fetchpriority="high" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/2023-03-01_16-28.png" data-src="" alt="" width="2476" height="639"/></div>



<p>Then click the account icon on the top right hand of the screen. From the menu that appears select &#8220;My Products&#8221;.</p>



<div id="gspb_image-id-gsbp-cc0971e0-5a72" class="gspb_image gspb_image-id-gsbp-cc0971e0-5a72 wp-block-greenshift-blocks-image"><img decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/2023-03-01_16-30.png" data-src="" alt="" width="741" height="661"/></div>



<p>Click the &#8220;My Account&#8221; button on the left hand side of the screen and then select &#8220;Domains&#8221;.</p>



<div id="gspb_image-id-gsbp-57846637-c49d" class="gspb_image gspb_image-id-gsbp-57846637-c49d wp-block-greenshift-blocks-image"><img decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/2023-03-01_16-37.png" data-src="" alt="" width="2395" height="1909"/></div>



<p>Here you will see the portfolio of all domains owned by the account. On the domain you&#8217;d like to forward click the three dots to bring up the menu, and then select &#8220;Edit DNS&#8221;</p>



<div id="gspb_image-id-gsbp-23b9df74-e41d" class="gspb_image gspb_image-id-gsbp-23b9df74-e41d wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/2023-03-01_16-37_1.png" data-src="" alt="" width="2443" height="1290"/></div>



<p>The DNS Management page will then be shown.</p>



<div id="gspb_image-id-gsbp-e4be1c59-6378" class="gspb_image gspb_image-id-gsbp-e4be1c59-6378 wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/2023-03-01_16-38.png" data-src="" alt="" width="3357" height="951"/></div>



<p>Scroll down to find the Forwarding section. First, on the &#8220;Domain&#8221; row click &#8220;Add Forwarding&#8221;</p>



<div id="gspb_image-id-gsbp-01c77fd6-7e4b" class="gspb_image gspb_image-id-gsbp-01c77fd6-7e4b wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/2023-03-01_16-38_1.png" data-src="" alt="" width="2506" height="1524"/></div>



<p>A popup will appear that prompts for forwarding details. For this example we will forward to google.com. Leave the forward type as &#8220;http://&#8221;, accept the default forward type of &#8220;Permanent&#8221;. Don&#8217;t worry, it&#8217;s still possible to modify or change the forwarding in the future as needed. </p>



<p>Once all the details have been filled in click &#8220;Save&#8221;</p>



<div id="gspb_image-id-gsbp-2e9cb10f-c7dd" class="gspb_image gspb_image-id-gsbp-2e9cb10f-c7dd wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/2023-03-01_16-39.png" data-src="" alt="" width="3388" height="1350"/></div>



<p>A new row will appear showing that domain, forwarding destination and type. At this point &#8220;domaintoforward.com&#8221; will forward to &#8220;google.com&#8221;, however we also need to set up &#8220;www.domaintoforward.com&#8221;. Do so by clicking the &#8220;Add Forwarding&#8221; button on the &#8220;Subdomains&#8221; row.</p>



<div id="gspb_image-id-gsbp-4dd4c4ce-2579" class="gspb_image gspb_image-id-gsbp-4dd4c4ce-2579 wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/2023-03-01_16-39_1.png" data-src="" alt="" width="3033" height="1710"/></div>



<p>Specify the subdomain to forward from as &#8220;www&#8221;, leave the type as &#8220;http://&#8221;, and then fill out the target to forward to. Leave type as &#8220;Permanent&#8221; and then click &#8220;Save&#8221;.</p>



<div id="gspb_image-id-gsbp-b4a76e09-1441" class="gspb_image gspb_image-id-gsbp-b4a76e09-1441 wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/2023-03-01_16-40.png" data-src="" alt="" width="3450" height="1516"/></div>



<p>That&#8217;s it! The forwarding section should look similar to the above.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.rentrex.ca/how-to/forwarding-urls-godaddy/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Dynamic DNS and GoDaddy</title>
		<link>https://www.rentrex.ca/how-to/dynamic-dns-and-godaddy/</link>
					<comments>https://www.rentrex.ca/how-to/dynamic-dns-and-godaddy/#respond</comments>
		
		<dc:creator><![CDATA[Adriano Salvatore]]></dc:creator>
		<pubDate>Wed, 09 Feb 2022 21:07:42 +0000</pubDate>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[GoDaddy]]></category>
		<category><![CDATA[networking]]></category>
		<guid isPermaLink="false">https://www.rentrex.ca/?p=426</guid>

					<description><![CDATA[GoDaddy is an affordable host that&#8217;s commonly relied upon for small businesses needs. Economy packages are great for hosting websites, web applications, email, and other services though (at the time of writing) Dynamic DNS capabilities are unfortunately not offered directly. What is Dynamic DNS? Generally unless you&#8217;re paying extra for a Static-IP address at your [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>GoDaddy is an affordable host that&#8217;s commonly relied upon for small businesses needs. Economy packages are great for hosting websites, web applications, email, and other services though (at the time of writing) Dynamic DNS capabilities are unfortunately not offered directly.</p>



<h2 class="wp-block-heading" id="what-is-dynamic-dns"><strong>What is Dynamic DNS?</strong></h2>



<p>Generally unless you&#8217;re paying extra for a Static-IP address at your home or office your Internet Service Provider will assign you a dynamic IP address. Dynamic IP addresses can make it tough for you to access devices from your home or office remotely (e.g. workstations, printers, file servers, etc).</p>



<p>If you have a need to access these devices, either a Static-IP, or Dynamic DNS is required. Dynamic DNS relies on a device in your network notifying the DNS server that your external IP has changed and having it update the DNS record to point to your new external IP address.</p>



<p>The basic process for most Dynamic DNS systems is shown below.</p>



<div id="gspb_image-id-gsbp-1a969584-dfc3" class="gspb_image gspb_image-id-gsbp-1a969584-dfc3 wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/simpleflow.png" data-src="" alt="" width="463" height="200"/></div>



<h2 class="wp-block-heading" id="requirements"><strong>Requirements</strong></h2>



<p>A GoDaddy domain name, and an internal device to act as a client (i.e. server, workstation computer, router) to be used for updating the GoDaddy DNS records.</p>



<h2 class="wp-block-heading" id="creating-the-dns-record"><strong>Creating the DNS Record</strong></h2>



<p>The first thing we need to do is create the new DNS record.</p>



<div id="gspb_image-id-gsbp-b217afa9-b6f6" class="gspb_image gspb_image-id-gsbp-b217afa9-b6f6 wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/1DnsManagement.png" data-src="" alt="" width="938" height="240"/></div>



<p>Login to GoDaddy and navigate to the &#8220;All Products and Services&#8221; section. Then Click &#8220;DNS&#8221;. If you have multiple domain names ensure that you are working with the correct one.</p>



<div id="gspb_image-id-gsbp-987039a2-78cd" class="gspb_image gspb_image-id-gsbp-987039a2-78cd wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/2dnsmanagement.png" data-src="" alt="" width="949" height="508"/></div>



<p>Click &#8220;Add&#8221; to create a new DNS record.</p>



<div id="gspb_image-id-gsbp-c1747511-026c" class="gspb_image gspb_image-id-gsbp-c1747511-026c wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/3dnssetting.png" data-src="" alt="" width="899" height="480"/></div>



<p>Fill the record in like above. The type must be &#8220;A&#8221;. The &#8220;Name&#8221; will be the subdomain you will use, this can be changed as desired (e.g. gateway, office, etc). Fill the value as &#8220;0.0.0.0&#8221;, this will be changed once we link our Dynamic DNS client. Set the &#8220;TTL&#8221; to either &#8220;1 Hour&#8221; as shown, or &#8220;1/2 Hour&#8221;. Longer times will result in a lapse of service when your Dynamic IP address changes.</p>



<h2 class="wp-block-heading" id="creating-our-godaddy-api-key"><strong>Creating our GoDaddy API Key</strong></h2>



<p>Now we will create the API key that our client will use to securely connect to GoDaddy to update the DNS.</p>



<p>Navigate to: <a href="https://developer.godaddy.com/keys">https://developer.godaddy.com/keys</a></p>



<div id="gspb_image-id-gsbp-715ad9c7-4176" class="gspb_image gspb_image-id-gsbp-715ad9c7-4176 wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/1api.png" data-src="" alt="" width="923" height="172"/></div>



<p>Click &#8220;Create New API Key&#8221; to begin creating your key.</p>



<div id="gspb_image-id-gsbp-6330ddae-af0b" class="gspb_image gspb_image-id-gsbp-6330ddae-af0b wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/2ApiP1.png" data-src="" alt="" width="517" height="442"/></div>



<p>It&#8217;s a good idea to name the key something unique and identifiable. For the &#8220;Environment&#8221; select &#8220;Production&#8221; then click &#8220;Next&#8221;.</p>



<div id="gspb_image-id-gsbp-4bd8bbda-d2a8" class="gspb_image gspb_image-id-gsbp-4bd8bbda-d2a8 wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/3apiP2.png" data-src="" alt="" width="573" height="531"/></div>



<p>The API Key and Secret will then be shown. Be sure to copy these before moving on, the secret can&#8217;t be recovered after this. <em>(If you lose your secret you must generate a new API Key).</em></p>



<h2 class="wp-block-heading" id="connecting-your-client"><strong>Connecting your Client</strong></h2>



<p>Now that the DNS record is created, and we have generated an API Key we are able to setup our client.</p>



<p>This will depend on the hardware that you have available some routers/firewalls have a preset offered for GoDaddy under dynamic DNS options. There are alternatives if you do not have a device that supports GoDaddy directly</p>



<div id="gspb_image-id-gsbp-0b456bfa-e931" class="gspb_image gspb_image-id-gsbp-0b456bfa-e931 wp-block-greenshift-blocks-image"><img loading="lazy" decoding="async" src="https://www.rentrex.ca/wp-content/uploads/2023/03/1pfsenseGoDaddy.png" data-src="" alt="" width="628" height="640"/></div>



<p>Navigate to your router or firewalls configuration webpage and search for &#8220;Dynamic DNS&#8221; or &#8220;DDNS&#8221; options. If your device has a Dynamic DNS option for GoDaddy it will most likely look similar to the above (PFSense shown). Use the API Key generated previously as the Username, and the Secret for the password.</p>



<p>If your device doesn&#8217;t support GoDaddy, or doesn&#8217;t have Dynamic DNS options continue below. Scripts are provided for both Windows and Linux devices, these may be run on a workstation (preferably one that is always on) or a server.</p>



<p>PowerShell script (Windows):</p>



<pre class="wp-block-code has-inputtext-background-color has-background"><code>$mydomain = "mydomainname.com"
$myhostname = "mysubdomain"
$gdapikey = "apikey:keysecret"

$myip = Invoke-RestMethod -Uri "https://api.ipify.org"
$dnsdata = Invoke-RestMethod "https://api.godaddy.com/v1/domains/$($mydomain)/records/A/$($myhostname)" -Headers @{ Authorization = "sso-key $($gdapikey)" }
$gdip = $dnsdata.data
Write-Output "$(Get-Date -Format 'u') - Current External IP is $($myip), GoDaddy DNS IP is $($gdip)"

If ( $gpid -ne $myip) {
  Write-Output "IP has changed: Updating on GoDaddy"
  Invoke-RestMethod -Method PUT -Uri "https://api.godaddy.com/v1/domains/$($mydomain)/records/A/$($myhostname)" -Headers @{ Authorization = "sso-key $($gdapikey)" } -ContentType "application/json" -Body "&#91;{`"data`": `"$($myip)`"}]";
}</code></pre>



<p>Save the above script as &#8220;dnsupdater.ps1&#8221;. Replacing &#8220;mydomainname.com&#8221; with your domain, &#8220;mysubdomain&#8221; with the subdomain set previously, and &#8220;apikey:keysecret&#8221; with your generated API Key and Secret values. Ensure these are separated by a colon.</p>



<p>Running this script will result in the GoDaddy DNS record being updated to your current IP address. Run this at regular intervals of between 10 and 30 minutes using Task Scheduler to ensure that your DNS is always up to date.</p>



<p>Bash script (Linux):</p>



<pre class="wp-block-code has-inputtext-background-color has-background"><code>#!/bin/bash

mydomain="mydomainname.com"
myhostname="mysubdomain"
gdapikey="apikey:keysecret"
logdest="local7.info"

myip=`curl -s "https://api.ipify.org"`
dnsdata=`curl -s -X GET -H "Authorization: sso-key ${gdapikey}" "https://api.godaddy.com/v1/domains/${mydomain}/records/A/${myhostname}"`
gdip=`echo $dnsdata | cut -d ',' -f 1 | tr -d '"' | cut -d ":" -f 2`
echo "`date '+%Y-%m-%d %H:%M:%S'` - Current External IP is $myip, GoDaddy DNS IP is $gdip"

if &#91; "$gdip" != "$myip" -a "$myip" != "" ]; then
  echo "IP has changed: Updating on GoDaddy"
  curl -s -X PUT "https://api.godaddy.com/v1/domains/${mydomain}/records/A/${myhostname}" -H "Authorization: sso-key ${gdapikey}" -H "Content-Type: application/json" -d "&#91;{\"data\": \"${myip}\"}]"
  logger -p $logdest "Changed IP on ${hostname}.${mydomain} from ${gdip} to ${myip}"
fi</code></pre>



<p>Save the above script as &#8220;dnsupdater.sh&#8221;. Replacing &#8220;mydomainname.com&#8221; with your domain, &#8220;mysubdomain&#8221; with the subdomain set previously, and &#8220;apikey:keysecret&#8221; with your generated API Key and Secret values. Ensure these are separated by a colon.</p>



<p>Run the script to update the record and confirm that it is configured correctly. We can schedule this script to run at regular intervals using Cron.</p>



<p>To create a Cron job use:</p>



<pre class="wp-block-code has-inputtext-background-color has-background"><code>user@machine:~ $ crontab -e </code></pre>



<p>Within the cron file add the following line:</p>



<pre class="wp-block-code has-inputtext-background-color has-background"><code>*/30 * * * * /full/path/to/file/dnsupdater.sh &gt; /dev/null </code></pre>



<p>Replace the &#8220;30&#8221; as desired with your time in minutes. For additional output &#8220;/dev/null&#8221; can be replace with &#8220;dnsupdate.log&#8221;, this file will log the last execution.</p>



<h2 class="wp-block-heading" id="credits"><strong>Credits</strong></h2>



<p>Thanks to Tod-SoS on Instructables for the above Bash script and Powershell script (<a href="https://www.instructables.com/Quick-and-Dirty-Dynamic-DNS-Using-GoDaddy/">https://www.instructables.com/Quick-and-Dirty-Dynamic-DNS-Using-GoDaddy/</a>)</p>



<p>Thanks to smcconnell on the netgate forms for the PFSense screenshot (<a href="https://forum.netgate.com/topic/142130/godaddy-dynamic-dns-guide">https://forum.netgate.com/topic/142130/godaddy-dynamic-dns-guide</a>)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.rentrex.ca/how-to/dynamic-dns-and-godaddy/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
