Skip to content

Using a custom domain

Ax333l edited this page Jun 9, 2019 · 1 revision

What you will need:

  • a domain
  • the ability to edit DNS records for that domain

First, you need to get your key's fingerprint:

ssh-keygen -l

The output should be something like: 2048 SHA256:YOUR_FINGERPRINT COMMENT (RSA)

Copy the entire string.

Next, add the DNS records (replace YOUR_SUBDOMAIN with the subdomain you want to use):

  • Name = YOUR_SUBDOMAIN, Type = A, Value = 159.89.214.31
  • Name = YOUR_SUBDOMAIN, Type = TXT, Value = authkeyfp=SHA256:YOUR_FINGERPRINT

Run it:

serveo http -d YOUR_SUBDOMAIN.YOUR_DOMAIN.com

Clone this wiki locally