Domains, DNS and SSL

Add domains and subdomains, edit DNS records, get HTTPS certificates and control how visitors reach your websites.

Your domain names live under Website → Domains in the hosting panel, with four tabs: Domains, DNS zones, SSL/TLS and Redirects.

Tip: Some tools here have no menu entry. Press Ctrl+K (⌘+K on a Mac) to open the command palette and type the tool's name, such as "DNS lookup".

Add a domain

Adding a domain sets up its website, DNS zone, www name and email in one step.

  1. Open Website → Domains and click Add domain.
  2. Enter the Domain: one you registered (example.com) or a subdomain of a domain in your account (shop.example.com).
  3. Choose Create a new website or Attach to an existing website.
  4. Keep Also add www and Enable email checked if you want them.
  5. Click Add domain. If a step fails, click Retry.

Every extra (addon) domain is added the same way and brings its own DNS zone. Your plan limits how many domains you can have.

To add only a name, without DNS or email, click Add hostname. Under What it does, choose Serve the website (an alias) or Redirect to another address (a permanent 301 redirect).

To remove a name, click Remove in its row. Its DNS zone stays; delete it on the DNS zones tab to free the name.

Point your domain here

  1. Open Website → Domains → DNS zones.
  2. Copy the name servers from the Point your domain to these nameservers card.
  3. Enter them at your domain registrar. The change can take up to a day to spread.

If you keep DNS at your registrar instead, point the domain at the addresses shown on the SSL/TLS tab.

Edit DNS records

  1. Open Website → Domains → DNS zones and click Open next to the zone.
  2. In the Records card, click Add record, or Edit or Delete in a row.
  3. Choose a type: A, AAAA, CNAME, MX, TXT, SRV, CAA or NS.

New zones start with your provider's default records. Add zone adds a zone without a website or email; Delete zone at the bottom of a zone's page removes it.

DNSSEC

  1. On the zone's page, click Turn on DNSSEC.
  2. After about a minute, copy the DS record the card shows.
  3. Add it at your registrar. ScalPanel cannot do this step for you.

Warning: Before you click Turn off DNSSEC, remove the DS record at your registrar and wait a day. Otherwise your domain stops resolving.

Dynamic DNS

Keep a name such as home.example.com pointed at a connection whose address changes.

  1. On the zone's page, click Add a dynamic name.
  2. Enter a Name that has no A, AAAA or CNAME records yet.
  3. Copy the key and update address. The key is shown only once.
  4. In your router's "custom" or "dyndns" settings, enter the address and use the key as the password.

A name can change at most once a minute and never to a private address. New key replaces a lost key.

DNS lookup

Open DNS lookup from the command palette to see what the internet sees for a name. Enter a Domain or IP address and a Record type. Traceroute and ping are not offered.

HTTPS certificates (SSL/TLS)

AutoSSL gets free certificates for your names and renews them about 30 days before they expire.

Open Website → Domains → SSL/TLS. The Domains tab shows where each name points (for example Points here) and its HTTPS state.

  • Issue gets a certificate now, when the name points here or its zone is hosted here.
  • Check again reloads after a DNS change.
  • Exclude from AutoSSL keeps a name out.

Install a certificate you bought

  1. On the Private keys & CSRs tab, click Generate a CSR, enter the Host names and click Generate.
  2. Send the CSR to your certificate authority.
  3. On the Domains tab, click Install a certificate and paste the Certificate (CRT). The panel finds the matching key and CA bundle; otherwise paste them yourself.
  4. Click Install certificate.

Redirects

  1. Open Website → Domains → Redirects and choose the Website.
  2. Click Add a redirect and enter the Path on this website and the full Redirect to address.
  3. Under Which addresses, choose This path and everything below it or Only this path.
  4. Choose Permanent (301) or Temporary (302), then click Add redirect.

A website can have up to 100 redirects.

Error pages

  1. Open Website → Website settings → Error pages and choose the Website.
  2. Click Create next to a code, such as 404.
  3. Edit the HTML, check it with Preview, then click Save page.

Pages are files in public/error-pages/. An ErrorDocument line in your own .htaccess wins, shown as Overridden by .htaccess.

Protect folders and files

Directory privacy

  1. Open Tools → Security → Directory privacy and choose the Website.
  2. Click Protect a folder, choose the Folder and click Protect.
  3. Click Users and add a user name and password.

Leech protection limits how many addresses one user may sign in from within two hours, and can lock the user above it.

Directory listing

Open Directory listing from the command palette to choose whether a folder without an index page lists its files: Default, Show a list of files or No list.

Open Tools → Security → IP blocker & hotlinks and choose the Website:

  • IP blocker: addresses or ranges, one per line, up to 500.
  • Country blocking: up to 50 countries. A visitor using a VPN may still get through.
  • Hotlink protection: stop other websites from embedding your images and media. All of your website's own names (for example example.com and www.example.com) may embed each other's files.

Click Save. Blocked requests never reach your website.

File types

  • MIME types (command palette): tell browsers what an extension is, for example md as text/markdown. Scan website under Missing types lists the extensions in your website that browsers would download, with a suggested type to add in one click.
  • Website → Website settings → Handlers: run .html, .htm, .shtml, .phtml or .php3 to .php8 files as PHP.

Preview a website without a domain

  1. On Website → Domains, open the website's row menu and choose Temporary address.
  2. Click Give it a temporary address.

The website opens at a path of the server's address, over plain HTTP. Use it for checks, not for visitors.

See also Websites and Email.