[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving website to different server



On 2014-Jan-29 17:42, Jochen Spieker wrote:
> Veljko:
> > 
> > 1. Load modules proxy, proxy_http, headers
> > 2. Insert this configuration:
> > ----------------------------------
> > ProxyRequests Off
> > <Proxy *>
> >   Order deny,allow
> >   Allow from all
> > </Proxy>
> > 
> > ProxyVia On
> > ProxyPreserveHost On
> > ProxyPass / https://ip_of_new_server
> > ProxyDomain mydomain.com
> > ----------------------------------
> > into every VirtualHost block I want to migrate.
> > 
> > Would this be enough?
> 
> Looks ok, as far as I can see. I don't think you need ProxyDomain here,
> but then again I don't understand the documentation about that well
> enough. :) Anyway, the ProxyPreserveHost is what you most probably need
> when talking to your new server via IP address instead of hostname.

Thanks Jochen, I'll try this in a few days and let you know how it went.

Regards,
Veljko


Reply to: