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
- Open Websites from the left menu.
- Locate the website and open its dropdown menu.
- Select Overrides.
- Scroll to VirtualHost config.
- Click Edit configuration.
- Make the required changes in the editor.
- Click Save.
Warning: This is an advanced feature. Ensure syntax accuracy to prevent server issues.