DNS Setup
Point your domain to the VPS.
Cloudflare#
- Go to dash.cloudflare.com → your domain → DNS → Records
- Add an A record:
- Name:
@(root) orapi(subdomain) orapi.trader(nested subdomain) - IPv4:
VPS_IP - Proxy: Grey cloud (DNS only) — important for Certbot to work
- TTL: Auto
- Name:
- After SSL is set up, you can optionally switch to orange cloud (Cloudflare proxy)
Other DNS providers (Namecheap, GoDaddy, etc.)#
Add an A record pointing your domain/subdomain to VPS_IP. TTL: automatic or 300.
Verify DNS#
dig +short DOMAIN
# should return VPS_IP