Masked Domain Rewrite

Giganews Newsgroups
Subject: Masked Domain Rewrite
Posted by:  flamer die.spam@hotmail.com (die.spam@hotmail.com)
Date: Mon, 14 Jun 2010

Hi guys,

I have a website located at realdomain.com/newsite

I have fakedomain.com redirecting to the realdomain through freedns
and its masked so when I visit fakedomain.com thats what i see int he
browser. However when I hover over links or click links I can see the
realdomain.com and I also can't see the page title.

Can i use some kind of modrewrite to say
1) If you have come through realdomain.com/newsite force you to
fakedomain.com
2) If the user has come through fakedomain.com then all occurrences of
realdomain.com/newsite should be replaced
3) Page title is visible through fakedomain.com

I probably need to disable the cloaking right? So basically I want the
user to have no knowledge that they are actually at realdomain.com/
newsite its for reasons of not wanting to pay my hosting provider for
two accounts.

Replies