docs(whp): add reference + 5 add-on articles, env.d.ts for font CSS imports

This commit is contained in:
2026-05-17 10:34:43 -07:00
parent 231aa583a0
commit 748fcfeb6f
7 changed files with 283 additions and 0 deletions
@@ -0,0 +1,40 @@
---
title: Service hostnames
description: Quick reference for connecting to MySQL, PostgreSQL, Memcached, Redis, and SMTP from inside your container.
sidebar:
order: 1
---
import Hostnames from '~/content/partials/service-hostnames.mdx';
import Support from '~/content/partials/support-link.mdx';
Use these hostnames from inside your WHP container — they resolve to the internal services your site can talk to. They don't work from your laptop; see the note below.
<Hostnames />
## Where do I get credentials?
Each service's credentials live in a different section of the WHP panel:
- **MySQL** → **Databases → MySQL → Users**
- **PostgreSQL** → **Databases → PostgreSQL** (if enabled on your plan)
- **Redis** → **Caching → Redis**
- **Memcached** — no auth required; the service is isolated per container.
- **SMTP** — use any mailbox you've created and its password.
## Connecting from your laptop
Direct external connections to these internal services are not exposed for security reasons. Use the panel's tools instead:
- **MySQL** — **phpMyAdmin** in the panel for ad-hoc queries.
- **PostgreSQL** — **Adminer** in the panel.
- **Redis / Memcached** — use the **Caching** section's built-in CLI panel.
- **SSH tunneling** — if your plan includes SSH (see the plan page), you can tunnel from your laptop through your site container to the internal service.
## Related
- [Create a site](/whp/how-to/create-a-site/)
## Still stuck?
<Support />