2.2 KiB
Hostora Landing Page
Landing page depan Hostora (hostora.xyz) — terpisah dari panel hosting. Struktur halaman mengikuti pola freehosting.com (hero, cek domain, toolkit, paket gratis, harga Gratis vs Pro, fitur Pro, cara kerja, FAQ), dengan seluruh kode dan teks ditulis dari nol untuk Hostora.
Stack
- Static site — satu file
public/index.html(HTML + CSS + JS inline), tanpa build step, tanpa dependensi. - Cloudflare Workers & Pages — deploy sebagai Pages project
(
wrangler.toml, output dirpublic). - Cek domain — client-side via DNS-over-HTTPS Cloudflare
(
https://cloudflare-dns.com/dns-query,application/dns-json): NXDOMAIN = kemungkinan tersedia, ada record = sudah dipakai. Ketersediaan final dikonfirmasi saat pendaftaran di panel.
Deploy ke Cloudflare Pages
Opsi 1 — Git (disarankan, auto-deploy tiap push):
Cloudflare Dashboard → Workers & Pages → Create → Pages → Connect to Git →
pilih repo maspend/hostora-landing → Framework preset None →
Build command kosong → Build output directory public → Save and Deploy.
Opsi 2 — CLI:
npx wrangler login
npx wrangler pages deploy public --project-name hostora-landing
Opsi 3 — Upload manual: drag & drop folder public/ ke
Pages → Create → Upload assets.
Custom domain: di Pages project → Custom domains → pasang hostora.xyz
untuk landing page ini. Panel tetap terpisah di panel.hostora.xyz
(yang mengarah ke VPS Hostora).
Yang perlu diubah sebelum tayang
- Link panel — semua tombol "Mulai Gratis / Masuk Panel" mengarah ke
https://panel.hostora.xyz. Kalau panelmu masih di IP VPS, ganti URL itu dipublic/index.html(caripanel.hostora.xyz) atau arahkan subdomainpanel.hostora.xyzke VPS. - Harga Pro — Rp25.000/bulan, Rp20.000/bulan bila tahunan. Ini harga
placeholder: ubah angka di
public/index.html(bagian pricing + script toggle) sesuai harga jualanmu. - Kontak/support — belum ada link kontak; tambahkan bila sudah ada.
Tes lokal
python3 -m http.server 8000 --directory public
# buka http://localhost:8000/
Lisensi
GPL-3.0 — sama seperti repo panel Hostora.