Synology NAS Web Server Building Step 1 – Domain Connection

In this post, I will explain how to set up a Synology NAS web server by connecting a domain. When someone accesses the domain address you’ve connected from outside, they’ll be directed to your Synology NAS.

I want to make it easy to understand, so please follow the steps below carefully.

External IP Connection

First, through port forwarding settings on your router, connect 80, 443 ports of the external IP address to the internal IP address where the NAS is connected.

Checking External Address for Synology NAS

Next, go to the Control Panel of your Synology NAS and check the external address in the DDNS tab under the External Access menu.

Verify that this address matches the external IP address you configured through the port forwarding settings on your internet router.

 Adding a Web DNS Domain

Finally, add the domain in the DNS management section of the domain service provider you are using for your domain nameserver.

When registering the domain (for example, if your purchased domain name is domain.com), add one record with the hostname set to “@” or left blank (depending on the service provider), the record type as “A”, and the record content as your external IP address.

Additionally, add another record with the hostname set to “www”, the record type as “CNAME”, and the record content as “domain.com”.






And, when adding a subdomain (for example, if the subdomain name is blog.domain.com), set the hostname to “blog”, the record type to “CNAME”, and the record content to “domain.com”.

By following this procedure, I have completed the first step of setting up a Synology NAS web server by connecting a domain.

Now, accessing the domain address I have connected will direct users to my Synology NAS from outside.

In the next post, I will cover the Synology NAS Web Server Building Step 2 – Root Directory Creation.

Synology NAS Web Server Building Step 2 – Root Directory Creation