You can view the live preview of this site at:
Hosted on WispByte or Vercel (fully supported) still beta feature
LIVE RELOAD automatically refreshes your browser when you make changes to files in the webroot directory. This helps you see updates instantly without manually reloading the page. (YOU CAN DISABLE/ENABLE THIS FEATURE VIA config.json KEEP IN MIND THIS WONT WORK ON THE PORT)
You can show a different HTML file for each domain using the domains section in config.json.
To add or remove domains, edit the domains section in config.json.
Block specific files from public access and log requests.
- Block Files: Set
blockFeature: trueand add patterns toblockedFilesarray inconfig.json. CSS files cannot be blocked. - Logs: Enable
logsEnabledfor blocked access logs,requestLogsEnabledfor all request logs. Logs saved tologs/directory.
Enhanced debug logging with automatic log file creation (NO NEED TO CREATE ONE).
- Enable Debug Logs: Set
debugLogsEnabled: trueinconfig.json - Log Levels: Set
debugLogLevelto"error","warn","info", or"debug"(default:"info") - Features:
- Automatic log file creation in
logs/debug.log - Structured logging with JSON data for objects
- Automatic log file creation in
Redirect domains to other URLs(DOMAINS) with automatic HTTP 301 redirects.
- CONFIGURE REDIRECTS: Add entries to the
redirectssection inconfig.json:{ "redirects": { "old-domain.com": "https://new-domain.com", "legacy.example.com": "https://example.com" } } - Features:
- Automatic HTTP 301 (permanent redirect) responses
- Supports both HTTP and HTTPS redirect URLs
- Logged in
requests.logsfor tracking
DeployZ now includes automatic HTTPS support for local development with self-signed certificates.
- Enable HTTPS: Set
autoHttps: trueinconfig.json(default:true) - Disable HTTPS: Set
autoHttps: falseto use HTTP only - Certificate Generation: Self-signed certificates are automatically generated in
certs/directory - Browser Warning: Accept the security warning in your browser when using HTTPS locally
- Place HTML files in the
webrootdirectory - Run
index.jsfrom Node.js using console command -->npm start^npm run dev - Add dependencies to
package.json
The current webroot/ directory contains a customized DeployZ website. You can:
- Replace the entire content: Delete everything in
webroot/and add your own HTML, CSS, JS, and other static files - Keep the structure: Modify the existing files to match your needs
- Use as template: The current setup includes a professional landing page with theme switching
Note: The current website is specifically designed for DeployZ's branding and features. When replacing content, ensure your custom site works with the existing server configuration.
-
Start server:
npm start
-
(Optional) "If" you "add" a
devscript topackage.json, run:npm run dev