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:
- Click on DNS
- Hostname: @ or the domain name you bought (ex.teraqube.com)
- Record Type: CNAME
- Target Host: The address you use to access your synology
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:
And follow these steps:
- Click on virtual host
- Add the domain name you bought
- Browse to your web folder and the site you want to map with the new domain
- Select Apache HTTP server
- and save.
Wait until the changes are propagated on the internet and delete your browser cache if it is not working.
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.