Domain Names · NAS server

Map your synology address with your own domain and dynamic IP address

In this blog post, i will show you how to map your Synology http address to your own domain, even if you don’t have a static IP address.

If you dont have a static IP address, you are using a Dynamic name service provider like no-ip or synology’s own service. Those services provide you with the address you currently use to access your synology outside your network.

DDNS provider

So in this tutorial I will show you how to access your Synolgoy with your own subdomain:

From: mydomain.synology.me   to    mydomain.com

 

Buy a domain name

First of all, buy or login to your domain name provider. I use Hover for all my domain names.

If you also want to register your domain at Hover, click on this link or the picture below for a 2$ discount, when you sign up an account with them. Disclosure: I get also $2 discount, thanks!! 🙂

Hover-Refer-a-Friend-Post-

                                                   Get a $2 discount if you purchase your domain with Hover

Create a subdomain and point it to your Synology

You don’t need to create a subdomain, but I use the main domain for a website, so I created a subdomain in hover for my diskstation: ds.yourdomainname.com

So, If your domain name is example.com, we will create a subdomain named: ds.example.com

Let’s do that in Hover:

  1. Hostname: Add your subdomain
  2. Record type: CNAME
  3. Target host: Your current address: yourdomain.synology.me

create a subdomain and point it to your synology

Now you can login with your own domain:

mydomain.com:5000

Secure your Synology with SSL encryption (or https)

The main reason for doing this for me, was to enable the possibility to add a SSL certificate and encrypt all my communications to and from the Synology.

 

 

Advertisements

9 thoughts on “Map your synology address with your own domain and dynamic IP address

  1. Something doesn’t seem right. You created a sub domain ds.domain.com and then said you can access your Nas through domain.com:5000? I might be confused but I think you may have some typos in this post. Isn’t it supposed to be ds.domain.com:5000?

    Like

  2. Hi Ruth,

    Thanks so much for putting this together.

    I’m having some issues setting up my subdomain with Hover, however. Per your directions, I’ve added a CNAME record with a subdomain that points to my DDNS address. But it just does not connect. I am told that the server’s DNS record cannot be found when I visit subdomain.domain.net. Is this the sort of thing that might take 24 hours to propagate? Do I need to specify a subdomain at my DDNS provider?

    I should note that I actually already set up Let’s Encrypt for my domain prior to creating the subdomain. Do you think this could be the issue? I would expect that it should simply indicate that subdomain.domain.net is not properly secured and still allow access. I also do not see a way to edit my Let’s Encrypt certificate in DSM6 to include the subdomain as a valid address. Do you know how to do this?

    Right now, I’m able to get to mydomain.net:5001 and it shows https: and reveals the certificate is authenticated by Let’s Encrypy, so it looks like I am properly set up on the main domain.

    Lastly, do you know how I can set the domain to automatically go to port 5001? Currently, I always have to specify the port after typing the url, which is obviously very inconvenient. I know that this can be done but I’m just not sure of the literal logistics either with Hover or my DDNS provider or even where I should be doing this.

    Thanks,

    Rob

    Like

  3. Hi Ruth,

    Thanks so much for putting this together.
    I’m having some issues setting up my subdomain with Hover, however. Per your directions, I’ve added a CNAME record with a subdomain that points to my DDNS address. But it just does not connect. I am told that the server’s DNS record cannot be found when I visit subdomain.domain.net. Is this the sort of thing that might take 24 hours to propagate? Do I need to specify a subdomain at my DDNS provider?

    I should note that I actually already set up Let’s Encrypt for my domain prior to creating the subdomain. Do you think this could be the issue? I would expect that it should simply indicate that subdomain.domain.net is not properly secured and still allow access. I also do not see a way to edit my Let’s Encrypt certificate in DSM6 to include the subdomain as a valid address. Do you know how to do this?

    Right now, I’m able to get to mydomain.net:5001 and it shows https: and reveals the certificate is authenticated by Let’s Encrypy, so it looks like I am properly set up on the main domain.

    Lastly, do you know how I can set the domain to automatically go to port 5001? Currently, I always have to specify the port after typing the url, which is obviously very inconvenient. I know that this can be done but I’m just not sure of the literal logistics either with Hover or my DDNS provider or even where I should be doing this.

    Thanks,

    Rob

    Like

  4. Hi Ruth Pozuelo Martinez,

    Great blog, thank you for sharing.

    I’m trying to do the same thing by connecting my purchased domain name to my website, located on my Synology DS211. However, I can’t seem to accomplish all the steps, yet.

    Is it possible for you to guide or help me along with slightly more elaborate steps? (perhaps via mail?)
    For instance, do I have to apply the IP address located in my Domain name provider into THE external section of the DDNS on the Synology? (External address IPv4).

    And how to manage this when using a Dynamic service provider (no-IP)?

    Hope you find it to get back to me. Thanks in advance.
    JG

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s