Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th June 2010, 13:45
vistree vistree is offline
Member
 
Join Date: Aug 2006
Posts: 61
Thanks: 2
Thanked 4 Times in 3 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 5th June 2010, 12:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 6th June 2010, 17:21
vistree vistree is offline
Member
 
Join Date: Aug 2006
Posts: 61
Thanks: 2
Thanked 4 Times in 3 Posts
Default

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!
Reply With Quote
  #4  
Old 7th June 2010, 13:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by vistree View Post
As I wrote, I have no root-access to the servers (they are hosted).
Then that's no option...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic temporary URL for new sites apoana Tips/Tricks/Mods 18 24th June 2013 13:43
Newb: How to redirect from domain.com to www.domain.com smartin Installation/Configuration 13 22nd February 2010 11:47
Redirect Wireless Client to Late-Pay Notice giganet Server Operation 1 19th June 2009 08:57
Strange Redirect of the Co-Domains vaio1 Installation/Configuration 9 19th October 2008 13:35
Tip: URL Aliases vs. Redirects Dave Lane Tips/Tricks/Mods 4 20th October 2006 15:50


All times are GMT +2. The time now is 20:07.


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