Enable and Disable Sites
Temporarily disable or re-enable sites without deleting them.Disable a Site
Disable a site (keeps files, removes from active configuration):/etc/nginx/sites-enabled/ but keeps:
- Configuration in
/etc/nginx/sites-available/ - All site files in
/var/www/ - Database (if WordPress)
- SSL certificates
Enable a Site
Re-enable a disabled site:/etc/nginx/sites-enabled/ to activate the site.
Deleting Sites
Permanently remove sites from your server.Delete a Single Site
Database Deletion Prompt
For WordPress sites, you’ll be asked:
Y- Delete database and all data (default)n- Keep database intact
SSL Certificate Prompt
If SSL is enabled, you’ll be asked:
Y- Revoke and delete certificate (default)n- Keep certificate for future use
Unattended Deletion
Delete without prompts:- Force Delete
- Keep Database
Delete everything (database, SSL, files):
Delete Subfolder Sites
Delete a subfolder site:- Subfolder configuration files
- Files in
/var/www/example.com/htdocs/blog/ - Database (if WordPress subfolder)
- Cache configuration for subfolder
Delete All Sites
Remove all sites from your server:Unattended Delete All
List All Sites
View all sites on your server:- Site domain names
- Site type (HTML, PHP, WordPress)
- Status (enabled/disabled)
- SSL status
- WordPress version (if applicable)
- Cache status
Force WWW/Non-WWW Redirect
Force all traffic to use www or non-www version of your domain.Force Non-WWW (Root Domain)
Redirect www to non-www (default):www.example.com→example.comhttp://www.example.com→https://example.com(if SSL enabled)
Force WWW
Redirect non-www to www:example.com→www.example.comhttp://example.com→https://www.example.com(if SSL enabled)
Disable Force Redirect
Allow both www and non-www:WordPress Integration
Force redirect automatically updates WordPress database:-force-redirect=www→ Updates tohttps://www.example.com-force-redirect=root→ Updates tohttps://example.com
home and siteurl options are automatically updated.
Domain Forwarding
Redirect an entire domain to another URL.Create a Forwarding Domain
old-domain.com redirect to new-domain.com.
Forward with Path Preservation
By default, the original request path is preserved:HTTP Codes
Forwarding uses 301 (permanent) redirect by default. Customize with redirections feature.Redirection Manager
Create custom redirects for specific paths.Create a Redirect
Redirect Types
- Standard Redirect (301)
- Temporary Redirect (302)
- Access Denied (403)
- Gone (410)
Permanent redirect (default):Uses HTTP 301 (moved permanently).
Regex Redirects
Use regular expressions for complex patterns:sensitive- Case-sensitive regex (default)insensitive- Case-insensitive regexlongest- Longest matching prefix
Exact Match Redirects
Match exact path only (not prefixes):example.com/, not example.com/page.
List Redirections
View all redirects for a site:Delete a Redirect
Remove a specific redirect:Delete All Redirects
Remove all redirects from a site:Site Information
Get detailed information about a site:- Site type (HTML, PHP, WordPress, Proxy, etc.)
- WordPress version (if applicable)
- Database details (if WordPress)
- SSL certificate status
- Cache configuration
- Force redirect settings
- Multisite status
- Environment type
- File locations
Subfolder Site Information
Parked Domains
Create alias domains that point to an existing site.Create a Parked Domain
alias.com serve content from main-site.com.
Parked Domain Features
- Uses same files as main site
- Separate NGINX configuration
- Can have independent SSL
- Can have different cache settings
- Useful for multiple domains serving same content
Default and Tools Sites
Webinoly maintains special system sites:Default Site
The default site handles requests that don’t match any configured domain:Tools Site
The tools site hosts admin tools (phpMyAdmin, etc.):NGINX Reload Control
By default, NGINX reloads after site operations. Disable for bulk operations:File Permissions
Webinoly automatically manages file permissions:- Site files:
www-data:www-data - NGINX configs:
root:root - Log files:
www-data:adm
Logs
Access site logs:log command (see Log Management documentation).
Backup Before Major Changes
Before deleting or making major changes:Best Practices
Site Cleanup
- Regularly review and remove unused sites
- Delete test sites after use
- Keep only necessary redirections
- Monitor disk usage
Backups
- Always backup before deletion
- Test backups periodically
- Store backups off-server
- Document backup procedures
Monitoring
- Check logs regularly
- Monitor site status
- Track SSL expiration
- Review redirections periodically
Organization
- Use clear naming conventions
- Document site purposes
- Maintain site inventory
- Use staging sites for testing