hosting a domain on a synology diskstation

There are two environments that need attention, when hosting a domain on a Synology Diskstation:

  1. Virtual Host (which organises the location of the files that your website is built out of), and
  2. DNS Server (which controls the Zone File that points web browsers at your website)

First of all, to configure your Virtual Host for your new website (which we will call example.co.uk):

Web Services -> Web Applications -> Virtual Host:

  • subfolder = example (without TLD suffix)
  • hostname = example.co.uk (with full TLD suffix)
  • OK

Now to configure your DNS Server and the Zone File:

Downloaded Packages -> DNS Server -> Zones:

  • Create Master Zone
    • Domain Type: Forward Zone
    • Domain Name: example.co.uk
    • Master DNS Server: static IP address
    • Serial format: Integer
    • OK
  • Edit Resource Record
    • Create:
    • MX Type
    • Name: mx
    • TTL: default
    • Priority: 10
    • Host/domain: example.co.uk
  • Create:
    • MX Type
    • Name: (leave blank this time)
    • TTL: default
    • Priority: 20
    • Host/domain: example.co.uk
  • Create:
    • CNAME
    • Name: (leave blank)
    • TTL: default
    • Canonical Name:
    • ns.example.co.uk
  • Create:
    • A Type
    • Name: (leave blank)
    • TTL: default
    • IP address: static IP address
  • Finish

And you’re done.

Email config is a separate thing. You need to follow these instructions for that.

Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *