Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Migrating Servers

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
migrating servers - Hi I need to migrate from one server to another. My plan is to move (mail etc) first, then lastly move my website a number of virtual servers over). During the migration however not all virtual servers will be moved in one go,..

Problems migrating from apache 1.3 to 2.0.46 - I recently migrated from apache 1.3 on redhat7.2 to 2.0.46 on rhel 3.0 .. I am running a proxy server with the new apache by calling a file with ProxyPass and ,this will inturn redirect to another This setup was..

Migrating mod_auth_mysql config to mod_dbd config - Hi all Can anyone advise or point me at a guide to porting Apache 2 config to Apache 2.2. mod_dbd ? I've just upgraded a Debian box and as is no longer supported (at least in unstable debian) my sites are all screwed ..

two servers - Suppose i have 2 servers is very fast but has limited disk space is quite a bit slower but has nearly unlimited storage My DNS points to I want to create a situation where, when a request comes into for a..

One IP, 2 servers.. - Just upgrading my home servers, and want to separate mail from web. Is there any simple way that I can redirect my webmail to the mail server from the web server? I can only forward ports, not names, and would rather not use a separate port unless I can..
Next:  Apache: mod_ssl 2.8.30 for apache 1.3.39 on windows  
Author Message
Steve Shaw

External


Since: May 20, 2006
Posts: 6



(Msg. 1) Posted: Mon Oct 22, 2007 11:42 pm
Post subject: Migrating Servers
Archived from groups: alt>apache>configuration (more info?)

Hi

I'm in the process of migrating between and old and new server, lets
call them "new" and "old". I've copied all the web sites from old to new
but only want one of the websites to be delivered from new server and
the rest to still come from the old server. I understand I need to proxy
the requests but i'm not having much luck

Here is the virtual host definition I use (have a number of similar name
based virtual hosts for other sites) - with what i believe is the
necessary added proxy element - but am not sure what to use as the
parameters for ProxyPass and ProxyPassReverse since the incoming request
to www.mywebsite.com (on the new server) needs to be mapped to
www.mywebsite.com (but on the old server)

<VirtualHost *:80>
DocumentRoot /usr/mywebsite
ServerName mywebsite.com
ServerAlias www.mywebsite.com
ErrorLog logs/mywebsite.com-error_log
CustomLog logs/mywebsite.com-access_log common

# Added proxy element
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass ?? ??
ProxyPassReverse ?? ??

</VirtualHost>


Many thanks in advance
Steve

 >> Stay informed about: Migrating Servers 
Back to top
Login to vote
David McKenzie

External


Since: Jul 18, 2007
Posts: 22



(Msg. 2) Posted: Mon Oct 29, 2007 3:58 am
Post subject: Re: Migrating Servers [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Steve Shaw wrote:
> Hi
>
> I'm in the process of migrating between and old and new server, lets
> call them "new" and "old". I've copied all the web sites from old to new
> but only want one of the websites to be delivered from new server and
> the rest to still come from the old server. I understand I need to proxy
> the requests but i'm not having much luck
>
> Here is the virtual host definition I use (have a number of similar name
> based virtual hosts for other sites) - with what i believe is the
> necessary added proxy element - but am not sure what to use as the
> parameters for ProxyPass and ProxyPassReverse since the incoming request
> to www.mywebsite.com (on the new server) needs to be mapped to
> www.mywebsite.com (but on the old server)
>
> <VirtualHost *:80>
> DocumentRoot /usr/mywebsite
> ServerName mywebsite.com
> ServerAlias www.mywebsite.com
> ErrorLog logs/mywebsite.com-error_log
> CustomLog logs/mywebsite.com-access_log common
>
> # Added proxy element
> ProxyRequests Off
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
> ProxyPass ?? ??
> ProxyPassReverse ?? ??
>
> </VirtualHost>
>
>
> Many thanks in advance
> Steve
Well the servers would have different IP addresses, right? So only
change the DNS on the domain you wish to transfer. If they have the same
IP then you will not be able to do this.

If it is on a local network and NATed, you will need to change the
router config.

--
DM davidm.TakeThisOut@cia.com.au

'It would go against respecting principles and truth if you have to
respect and accept anything just because it is the other side's view.'
- Kim Jung Ill

 >> Stay informed about: Migrating Servers 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]