The Simplest reverse proxy configuration possible is the code below, with this configuration your server will proxy all requests from example.com
to subdomain.example.com,
<VirtualHost *:80>
ServerAdmin [email protected]
ProxyRequests off
ServerName example.com
ProxyPreserveHost On
<Location />
ProxyPass http://subdomain.example.com/
ProxyPassReverse http://subdomain.example.com/
Order allow,deny
Allow from all
</Location>
</VirtualHost>