

Hosting a Synology Server is a fun DIY project that requires a lot of research before achieving safely and securely accessing your data from anywhere. The WAN IP changes as most people quickly discover about their home internet or small business internet. Right out of the gate, you will discover that DDNS (Dynamic Domain Name Service) simplifies connecting to your Synology NAS over the Internet by mapping a hostname to its IP address. For example, DDNS allows you to access your Synology NAS using a domain name (e.g., www.john.synology.me), with no need to remember an IP address (e.g. 172.16.254.1).
Yay DDNS, right?!?!
Not exactly. While many of us do enjoy the benefits of mapping of a dynamic IP over hopefully SSL encryption, there’s a daunting message for third party individuals who do not know if the server they are connected to is indeed a legitimate server or if their credentials are being compromised by some man in the middle attack.
What to do?!?!
We posted a blog on how to setup a third party SSL certificate but now we are about to square one because third party SSL certificates only work with your own domain not a DDNS service like https://YourName.synology.me
Change the A record IP address in DNS
You need to change the IP when your service provider WAN IP lease is up. This is not as complicated as it sounds. Many of us don’t have a WAN IP that changes all that often. My “dynamic” IP hasn’t changed for a good year. This means I can always connect to https://dsm.myfancydomainname.com and access my Synology DiskStation Manager with ease. Ie no scary message and no potential for a man in the middle attack. Go to https://whatismyip.com from the network where the Synology is located. Record the new IP address then go to your third party hosting the DNS manager.
Third Party DNS Manager – GoDaddy Example
In our example, we utilize GoDaddy to manage our domain MyFancyDomainName.com. We even figured out the shortcut link to go directly to the page that manages DNS when you login to GoDaddy. (See URL Below)
https://dcc.godaddy.com/manage/MyFancyDomainName.com/dns
Replace MyFancyDomainName.com with your domain and make it a shortcut on the desktop for whenever the WAN IP changes on the network.
Third Pary DNS Manager – Cpanel Example
cPanel > Advanced DNS Zone Editor to view dsm.myfancydomainname.com A record
Name: dsm.myfancydomainname.com
TTL: 1400
Type: A
Address: x.x.x.x (fill in WAN IP here)
Hosting Synology server and dynamic DNS Summary
After deploying the certificate and maintaining the DNS record, you can confidently send out URLs to your DSM box without placing individuals in harms way. High fives to you!
ProTip! Make sure not only the DSM port is port forwarded but the SSL port of 443 is too.
Accessing a Synology remotely so you can work from home
-
- A best practice guide for setting up remote access for under 10 user environments.
- Note: It does not include steps for VPN or port forwarding
- Synology Ports for Remote Accessibility
- Synology SSL Certificate Setup
- Hosting a Synology with a Dynamic WAN IP
- Cloud Station Support, DS Cloud Setup for Computer and Phone
- A best practice guide for setting up remote access for under 10 user environments.