Buy a domain and connect it to WebPortico
An IP address in the browser bar? No thanks, I have my own domain!
A site on your QNAP only looks serious under its own name, e.g. shop.example.com. That usually means digging through DNS records and guessing what goes where. WebPortico does it for you: it checks who runs your domain’s DNS and either writes the records itself or tells you exactly what to paste at your provider.

What will you need? A QNAP with an Intel or AMD processor and QTS 6.0 or QuTS hero 6.0 or later, WebPortico from App Center, and a public IP address from your internet provider. Ports 80 and 443 on your router must lead to the NAS. If the router supports UPnP, NAT-PMP or PCP, WebPortico opens them itself on the Front server and ports page; on any other router you set them by hand.
I. The domain: do you have one or are you buying?
You start as with any new site: in WebPortico, go to Sites and click Add site. The wizard asks straight away: Do you have a domain for this site?
If you do, choose Yes and type its name. If not, choose No, I want to buy one. The panel walks you through buying it at OVHcloud, but you can buy the domain from any registrar. Skip hosting and mailboxes when you buy: your NAS will hold the site, so don’t pay for something you won’t use. After the purchase, go back to the wizard and click I bought it.

II. DNS: who runs your domain?
Click Next. WebPortico asks the registry about your domain and checks who runs its DNS. What you do next depends on the answer:
- Cloudflare or OVHcloud. This is the easiest way. Choose the option with an API key, and the panel shows how to create one at the provider. Paste the key and click Check and save. From then on WebPortico writes the records itself, so you don’t have to remember which record goes where.
- Another provider. The panel lists the records to enter: A, AAAA and a CNAME for www. Sign in at your DNS provider and enter them exactly as shown.
- TurboDNS on this NAS. Your QNAP runs the domain’s DNS itself. At the registrar, you then set the name servers the panel shows.

Bought the domain a moment ago? The registry may not know it yet. The panel says so and offers Check again: wait a while and click it.

III. The site and the certificate
Next, the wizard asks about the site itself: static files, PHP or a reverse proxy to another application, which PHP version to use and whether you need a database. For the certificate, choose Let’s Encrypt. It’s free, and WebPortico renews it on its own.
On the Review step, click Preview changes. If you gave an API key, you see the list of records WebPortico will write at the provider. All correct? Click Apply changes.

IV. Check that it works
A DNS change can take a few hours to spread around the world, so don’t panic if you don’t see it right away. On the site’s Overview, click Check now. When WebPortico confirms that the name leads to your NAS, click Request certificate.

Voila! Your site runs under its own domain, with a padlock in the browser bar.
