<VirtualHost *:80>
DocumentRoot "/var/www/html"
# virtual host
ServerName needfixmycar.com
ServerAlias *.needfixmycar.com
ServerAdmin info@needfixmycar.com
# redirect domain.com to www.domain.com
RewriteEngine on
RewriteCond %{HTTP_HOST} ^needfixmycar\.com
RewriteRule ^(.*)$ http://www.needfixmycar.com/$1 [R=permanent,L]
# redirect to the serving host
ProxyPreserveHost on
ProxyPass / http://needfixmycar.internal.com/ nocanon
ProxyPassReverse / http://
needfixmycar.internal.com/
</VirtualHost>
http {
client_max_body_size 500M; # allows file uploads up to 500 megabytes
[...]
}