Skip to content

Commit 9526ee9

Browse files
committed
docs(server-guide): update A record section
1 parent d866bc8 commit 9526ee9

1 file changed

Lines changed: 7 additions & 14 deletions

File tree

docs/self-hosting/server-guide.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ This path assumes you're comfortable with:
1515

1616
Plan for **30 to 60 minutes** end to end, mostly waiting on DNS propagation, image pulls, and Caddy's first certificate fetch.
1717

18-
You'll need:
19-
20-
- an Ubuntu VPS with Docker and Docker Compose installed
21-
- a domain name pointed at the server's public IP
22-
- Caddy installed on the same server
23-
- SSH access
24-
2518
The examples use `compass.example.com`. Replace it with your real domain everywhere.
2619

2720
## What to expect
@@ -89,7 +82,9 @@ Once those are installed, continue to step 1.
8982

9083
### Get a domain name
9184

92-
You'll need a domain name to get HTTPS working. Two good options:
85+
You'll need a domain name to get HTTPS working. If you already have one (me.dev) and are OK with adding a subdomain (calendar.me.dev), you can skip this step.
86+
87+
Two good options for new domains:
9388

9489
**[Namecheap](https://www.namecheap.com)** — straightforward UI, `.com` domains ~$9–11/year, free WHOIS privacy included.
9590

@@ -99,22 +94,20 @@ You'll need a domain name to get HTTPS working. Two good options:
9994

10095
```text
10196
Type: A
102-
Name: compass
97+
Name: <subdomain> # example: 'cal', 'calendar', 'compass', 'app'
10398
Value: <your-vps-ipv4-address>
10499
```
105100

106-
That example makes `compass.example.com` point at the server's public IPv4
107-
address. DNS is managed wherever your domain's nameservers point. That may be
101+
That makes the subdomain point at the server's public IPv4 address. DNS is managed wherever your domain's nameservers point. That may be
108102
your registrar, but it may also be another host such as Cloudflare or Vercel.
109103

110-
You can confirm the record from your own computer:
104+
Say you have a domain `example.com` and create the A record for the subdomain `compass`. You can confirm the record from your own computer:
111105

112106
```bash
113107
dig +short A compass.example.com
114108
```
115109

116-
It should print your VPS IPv4 address. Don't add an `AAAA` record unless the
117-
server's IPv6 is configured and reachable.
110+
It should print your VPS IPv4 address. It might take a few minutes for your DNS record to propagate.
118111

119112
### Sanity-check
120113

0 commit comments

Comments
 (0)