Subdmain Redirect (Invision Forum)

Using a single web hosting account to host multiple sites

Subdmain Redirect (Invision Forum)

Postby hermematon » Wed Aug 30, 2006 8:37 am

Hi!

I have a few days with this problem. I have a Invision forum of a game and i will to move to another host. I wanna make a redireccion but, i wanna make it to be transparent to the users. This is all the info.

Subdomain Address: http://foro.atlantis-ro.net
Forum Hosted in: http://www.atlantis-ro.net/foro

This Works perfect. When i type the subdomain address it appears in the browser window.

Including works if somebody types :
http://foro.atlantis-ro.net/index.php?showtopic=13625

Are redirected to:
http://www.atlantis-ro.net/foro/index.p ... opic=13625
(but this direccion are never seeing for the users, they alway see foro.atlantis-ro.net)

Now i need to move the location of the forum to this address:
http://69.41.163.8/foro

The problem is that when i type: http://foro.atlantis-ro.net after the redirecion appears http://69.41.163.8/foro
in the address bar and i want that the address bar show http://foro.atlantis-ro.net

I see that this is a frecuent question but i tried with a lot of config and dont work :(

If somebody have a clue please tell me.

Regards.
hermematon
 
Posts: 1
Joined: Wed Aug 30, 2006 7:27 am

Postby richardk » Wed Aug 30, 2006 11:16 am

Why not change the DNS and set it up properly?

You need mod_proxy to do this with mod_rewrite, in a .htaccess file in the /foro directory:
Code: Select all
Options +FollowSymLinks

RewriteEngine On

RewriteRule ^(.*)$ http://69.41.163.8/foro/$1 [P,L]
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 108 guests

cron