NAS server

Use your own domain on wordpress website hosted on Synology

Have you installed wordpress on your Synology and want to use your website domain name instead of your synology’s name?

I have been wanting to do this for quite a while, but never figured out until now and I am thrilled to share this how-to with you!

Buy your domain name

Ok, first things first, you need to own a domain name.

I buy all my domains from Hover. If you also want to register your domain at Hover, click on this link for a 2$ discount, when you sign up an account with them.


Get a $2 discount if you purchase your domain with Hover (I get also $2 discount, thanks!!)

Point your domain name to your Synology

Now that you have your own domain, you need to point it to your synology. I will show you how to do it with Hover:

  1. Click on DNS
  2. Hostname: @ or the domain name you bought (
  3. Record Type: CNAME
  4. Target Host: The address you use to access your synology
  5. Save

cname hover

Configure a virtual host in our synology

Now login your Synology, we are going to configure a virtual host. Once in your Synology, navigate to your web station:

configure your webstation

And follow these steps:

  1. Click on virtual host
  2. Add the domain name you bought
  3. Browse to your web folder and the site you want to map with the new domain
  4. Select Apache HTTP server
  5. and save.

configure virtual host synology1

Wait until the changes are propagated on the internet and delete your browser cache if it is not working.


HTTPS website

I installed a Lets encrypt SSL certificate on my synology and  I would love to move my sites from http to https too, but I still haven’t figured out how. If you figure it out, let me know in the comments.


33 thoughts on “Use your own domain on wordpress website hosted on Synology

  1. Hi I have replicated the setup as described and it worked fine for a while. Then it reverted to the default page from Hover stating “‘domain’ is a totally awesome idea still being worked on.”.
    I contacted Hover and they state “Hi Vincent. I just had a look at your DNS and you have a blank CNAME record set up (using @) and this is causing some issues. Blank CNAME records can cause all other DNS records to not function, it’s just a DNS rule.”. Did I do something different? Any ideas on how my blank CNAME record might be causing problems where yours seems to work just fine?

    I love your site btw, it triggered me to go to Hover and setup my certificate via Let’s Encrypt. Keep up the good work!



  2. Hi Ruth!
    Great article, but I can’t seem to figure it out.

    My domain controller does not allow me to put a cname record for “@” because it says my domain already has at least one NS-pointer. But I can’t seem to find it.

    Any tips?


  3. Hi Ruth,

    A long time ago I had a website running at (just a Windows-PC with Sambar). I now have a Synology NAS with wordPress. I still use (I think it was known by another name back then) as my domain provider.
    They have changed a lot, though.

    I guess I must have setup correctly something, because when I access I reach my website. In the address bar I see “”. However, whatever I click beyond that, I get something like “” in the address bar.
    Pages are rendered as expected. But instead of my domain name, my external IP-address is shown in the address bar.

    Any idea?

    TIA, cu,


      1. Hi Ruth,

        Virtual host configured. Tried both and don’t get the standaard page of Web Station, but I get my home page of with the full domain name in the address bar.



      2. Ok, have you changed the home and site URL to in WordPress general settings or phpmyadmin?
        I am hosting this website on my synology and the setup works for me./Ruth


      1. Up again. I started configuring a second NAS and as they got the same name in my router, I changed the names… Not realising I killed the port forwards with the name change. And than I went away doing all kind of other stuff (still busy).The link should work again.

        I have a static IP. But I might have configured one.


      1. Hi Ruth,

        Don’t worry, I also have other stuff to do. And I am happy you are willing to help me, anyway.

        At the moment:
        – WordPress Address (URL): internal
        – Site Address (URL): external

        This way it at least works. With phpMyAdmin I had all kind of other combinations tried.

        TIA, cu,


      2. Unfortunately, no. This is the configuration I endend up with because it technically worked (except fotr the correct name in the address bar).


  4. Hi Ruth.
    I got a domain link to synology DSM which is also set another sub domain which is link to my own web site on web station.

    Since DSM and my own web site can’t share with same port.So I do:

    1. set virtual host on port 10085 on port-based mode.
    2. set reverse proxy config reverse port 443 on to my web station site.detail config is
    Destination: localhost:10085
    3. set Security setting(like certificate).

    After that, I go to,still is DSM page.

    Is there thing wrong?



  5. Thank you, Ruth. I followed your instructions and it worked like a charm. If you figure out the https stuff, I would love to read your next “hard stuff made easy” post. 🙂


      1. Hi Ruth, sorry.
        I was trying to host my own wordpress site on my sync but wasn’t successful with virtual hosts and etc. So I have searched the web for a day and found your post but still wasn’t successful. Then I spent another day and found another post (though I have deleted all the web folder and started from the scratch 🙂 )
        But thanks anyway, so my question was about, if you still actively look after your blog, should I have put a comment or send you an email 🙂

        Many thanks,


  6. Hello Ruth,

    I followed you tutorial and it worked really easily. However when I go to a post or a page, the URL of my permalinks is still shown as the dress
    Did you change your website address within wordpress settings panel or did it work directly for you?

    My domain name is on google domain so it is a little bit different from your installation but, I don’t want to break anything on my website so if you have any advice I’ll be very happy to chat.

    Thanks for your amazing website which has really helped me for the first step with my synology hosted wordpress website.



    1. I forgot that part…. because I already had my domain name on the website it without SSL.
      Let me update the blog post next week so I make sure the steps are correct. I don’t want to break your site either!


  7. Hi,

    I’ve set up Synology with external hostname as above and can get to the front page. The problem I have are the menu links. If I change the site URL to the external hostname (or the synology hostname) the menu links give a 404 error.

    Im hoping that their is a simple solution because I’ve been going nuts trying to figure it out over the last couple of days.

    Thanks for any help/advice.



  8. Hi Ruth, thanks for the great article !

    Everything seems to work perfectly for me except that I always need to add “wordpress” to the url to access the website (e.g. instead of

    Virtual host is pointing to “web/wordpress” so I don’t really undertand the problem.

    Any suggestion?



Leave a Reply

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

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

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.