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

Re: Moving website to different server



On 2014-Jan-29 15:01, Jochen Spieker wrote:
> If that is really a concern for you I would setup a reverse proxy
> configuration on the old machine and activate it as soon as the new
> machine is online and the DNS entries have been changed.

Very interesting idea. I'm reading right now about reverse proxy and it seams
as just the thing I need. 


IIUC: 

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?

Regards,
Veljko




Reply to: