HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Two hosters - redirect url from one to the other (http://www.howtoforge.com/forums/showthread.php?t=46344)

vistree 4th June 2010 13:45

Two hosters - redirect url from one to the other
 
Hi, I have a small problem here with redirect.
There are two domains at two different hosters.
domain1.com is at hoster1
domain2.com is at hoster2
Both have no DNS-setup and I don't have a root-access

Now I want to set up a CMS in one of the packages, say at hoster1. This CMS is multidomain usable.
Therefore I want to redirect domain2.com to domain1.com WITH the URL (domain2.com) kept.

Is there a way for this? And how is the "reaction" of google of the possible solutions?

Kind regards

falko 5th June 2010 12:50

You can do this with Apache's mod_rewrite, or you set up a reverse proxy. This tutorial should give you the idea: http://www.howtoforge.com/apache_rev...roxy_ispconfig

vistree 6th June 2010 17:21

Hi Falko,
thank you for the reply.

Can you describe in short how to use an rewrite_rule in .htaccess that keeps the URL? As I wrote, I have no root-access to the servers (they are hosted).

Have a nice Sunday!

falko 7th June 2010 13:44

Quote:

Originally Posted by vistree (Post 230379)
As I wrote, I have no root-access to the servers (they are hosted).

Then that's no option... :(


All times are GMT +2. The time now is 09:55.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.