Custom Virtualhosts in Enhance

This feature, exclusive to the Master Organisation and Resellers, allows custom virtual host directives to be added for websites hosted on Apache or Nginx. These directives are injected into the virtual host configuration below the default settings generated by Enhance. Changes can also override existing directives.


Key Details

  • Configurations affect Apache or Nginx web servers.
  • Customizations apply to addons, aliases, and subdomains of a website.
  • Incorrect syntax may disrupt your web server functionality.
  • Config files are stored at:
    /var/local/enhance/apache/vhost_includes/{domain}.conf.

Steps to Configure a Custom Virtualhost

  1. Open Websites from the left menu.
  2. Locate the website and open its dropdown menu.
  3. Select Overrides.
  4. Scroll to VirtualHost config.
  5. Click Edit configuration.
  6. Make the required changes in the editor.
  7. Click Save.

Warning: This is an advanced feature. Ensure syntax accuracy to prevent server issues.

Was this answer helpful? 0 Users Found This Useful (0 Votes)