This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
syno:dsm6inst [2022/11/18 00:53] – [DDNS over Namecheap] Bernard Condrau | syno:dsm6inst [2022/11/18 00:59] – [DDNS over Namecheap] Bernard Condrau | ||
---|---|---|---|
Line 20: | Line 20: | ||
===== DDNS over Namecheap ===== | ===== DDNS over Namecheap ===== | ||
+ | * Add the host to be accessed with DDNS to your domain' | ||
* Make sure you installed php-curl and php-xml in your [[deb11: | * Make sure you installed php-curl and php-xml in your [[deb11: | ||
* Add the following script to your webserver:< | * Add the following script to your webserver:< | ||
try { | try { | ||
$url = ' | $url = ' | ||
- | | + | |
// with allow_url_fopen enabled | // with allow_url_fopen enabled | ||
$output = file_get_contents($url); | $output = file_get_contents($url); | ||
- | | + | |
// with curl | // with curl | ||
//$req = curl_init(); | //$req = curl_init(); | ||
Line 58: | Line 59: | ||
* Make sure the DDNS update call is allowed by your webserver. For apache, add this to the conf:< | * Make sure the DDNS update call is allowed by your webserver. For apache, add this to the conf:< | ||
Require expr " | Require expr " | ||
- | Require forward-dns host.domain.tld # allow access from the DDNS domain name after updating the ip address</ | + | Require forward-dns host.domain.tld # allow access from the DDNS domain name after updating the ip address |
+ | </ | ||
* Create a custom DDNS updater in Synology DSM with the following //Query URL//:< | * Create a custom DDNS updater in Synology DSM with the following //Query URL//:< | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
===== Certificates ===== | ===== Certificates ===== |