Skip to content

Vhost editor ​

Advanced users can edit the site’s Nginx virtual host directly for custom rewrites, headers, and redirects.

Who can use this page? Site manage — Site Actions → Edit Vhost.

When to use it ​

Prefer panel features when they fit:

NeedUse instead
Apex ↔ wwwEdit site / routing
Cross-domain redirectDomain redirects
Extra proxy headersOften default config is enough
Custom location blocksVhost editor

Use the editor for:

  • Custom location rules
  • Extra proxy_set_header lines
  • Rate limits or IP allowlists at the server block level
  • One-off rewrite rules

Edit safely ​

  1. Site Actions → Edit Vhost
  2. Copy the existing config as a backup
  3. Make a small change
  4. Save — Nginx validates and reloads
  5. Verify the site in a private window

If validation or reload fails, restore your saved configuration or contact NitHost support with the exact error.

Changes to routing can interrupt the site. Keep a copy of the working configuration before editing.

Customer documentation · Nusite IT Consulting Limited