D Darkless Help
Open the portal

Help Running your server Websites and domains

Point a domain at your server

Add A records at your DNS provider, check they've arrived, and set the server's hostname and reverse DNS to match.

3 min Updated 7 Nov 2026 VPS, dedicated servers

A domain points at a server through DNS records, set wherever your domain's DNS is managed: usually where you bought it, or a service such as Cloudflare. Your server's address is on its Networking tab:

Live from the portalThe Networking tab's addresses, with reverse DNS
  1. 1Primary IPv4 The address your records point at.
  2. 2Edit Sets this address's reverse DNS, once the domain points here.

Add the records#

NameTypeValueTTL
@ (the domain itself)A203.0.113.10300
wwwA203.0.113.10300

Written out, that's:

example.com.      300   A      203.0.113.10
www.example.com.  300   A      203.0.113.10

TTL

The TTL is how many seconds others may remember the answer. Use 300 while setting up, so mistakes are quick to fix, then 3600. A change shows up everywhere only once the old record's TTL has run out.

Using Cloudflare

Set the records to DNS only (the grey cloud) while you set up. With the proxy on, lookups return Cloudflare's addresses, and your certificate can fail.

Check it's working#

Ask a public resolver directly, so you aren't seeing an old answer your computer remembered:

Windows

In PowerShell:

Resolve-DnsName example.com -Type A -Server 1.1.1.1
Resolve-DnsName www.example.com -Type A -Server 1.1.1.1

For IPv6, use -Type AAAA. In the old Command Prompt, nslookup example.com 1.1.1.1 does the same.

macOS

In Terminal:

dig +short example.com A @1.1.1.1
dig +short www.example.com A @1.1.1.1

For IPv6, use AAAA in place of A.

Linux

dig +short example.com A @1.1.1.1
dig +short www.example.com A @1.1.1.1

For IPv6, use AAAA in place of A. If dig isn't installed, it's in the bind9-dnsutils package on Ubuntu and Debian, and bind-utils on AlmaLinux.

Your server's address means it's working. Nothing means the record isn't there or has a typo. An old address means wait for the old TTL.

Set the server's hostname#

Some software expects the server to call itself by a name in your domain. On the server:

sudo hostnamectl set-hostname web-01.example.com

Then add a matching A record, web-01.example.com pointing at 203.0.113.10, so the name works both ways.

Set reverse DNS#

Reverse DNS gives an address its name, and you set it in the portal: see IP addresses and reverse DNS for a VPS, or Addresses and reverse DNS for a dedicated server. Mail servers check it. Outbound port 25 is also blocked until we open it: see Email won't send from my server.

Next#

Give it a website with a free certificate: see Host a website with HTTPS using Caddy.

Still stuck? Open a ticket and say which guide you followed.