Setting up ProxyPass for a Virtualmin virtual server
- by Andy Ibanez
I am trying to set up my web server so that I can server multiple Ghost.org blogs. I am stuck in one crucial step. To be honest, my knowledge in servers is not so big, so I request your help to do this.
Basically, a tutorial I'm reading suggests I set up a VirtualHost in this way:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName your-url.com
ServerAlias www.your-url.com
ProxyRequests off
ProxyPass / http://127.0.0.1:2368/
ProxyPassReverse / http:/127.0.0.1:2368/
</VirtualHost>
So I have gone to the Virtual site on Virtualmin to try to add everything as is.
Services Configure Website Edit Directives
The problem is, the previous page (Services Configure website) says I can't edit the port:
This Apache virtual host belongs to the Virtualmin server
linguist.andyibanez.com, so the address, port, base directory and
hostname cannot be changed here.
And whenever I try to add the ProxyRequests off (the other two can be added fine) directive in Edit Directives manually, I'm simply told that the directive can't be there.
So what is the right way to "add" the last three directives in the VirtualHost above to my sub server? Maybe I'm missing a menu item that will help me with this? I request your help as I have looked for a while, Google keeps thinking I want to serve Webmin via Apache when I google "Set up Virtualmin proxypass", and I have no clue what to do.