Hi:
I want to setup a sub-domain of one of my sites so that people who click on:
forum.foobar.com
are REALLY taken to forums.anotherhost.com/index.php
but never know it, because the URL for the remote forum is now always using the 'forum.foobar.com' sub-domain prefix.
Ideally, this should work not as domain 'masking' does, but should ensure that all the files on the remote site also look like:
forum.foobar.com/index.php
or
forum.foobar.com/query.php?2345 etc etc
How it works at the moment is not great:
I used cPanel to create the the sub-domain 'forum.foobar.com', and it successfully re-directs people to forums.anotherhost.com, and you see 'forum.foobar.com' in the address bar, as you should. So far so good...
But as soon as you click on a link on the site, and PHP kicks in or whatever, the URL changes to 'forums.anotherhost.com/index.php' etc. And people can see that the have left my site and are on another one.
But if you hover over a link on any of the site pages, they have the 'forum.foobar.com' prefix in them, so they know about the sub-domain 'owning' them..
Weird. Any suggestions.
Sam
I want to setup a sub-domain of one of my sites so that people who click on:
forum.foobar.com
are REALLY taken to forums.anotherhost.com/index.php
but never know it, because the URL for the remote forum is now always using the 'forum.foobar.com' sub-domain prefix.
Ideally, this should work not as domain 'masking' does, but should ensure that all the files on the remote site also look like:
forum.foobar.com/index.php
or
forum.foobar.com/query.php?2345 etc etc
How it works at the moment is not great:
I used cPanel to create the the sub-domain 'forum.foobar.com', and it successfully re-directs people to forums.anotherhost.com, and you see 'forum.foobar.com' in the address bar, as you should. So far so good...
But as soon as you click on a link on the site, and PHP kicks in or whatever, the URL changes to 'forums.anotherhost.com/index.php' etc. And people can see that the have left my site and are on another one.
But if you hover over a link on any of the site pages, they have the 'forum.foobar.com' prefix in them, so they know about the sub-domain 'owning' them..
Weird. Any suggestions.
Sam
Comment