Browser should show the addon domain and not the redirected domain




I will explain you how to redirect a addon domain to the redirect page but the browser should show only the addon domain only and not the redirected page

Step 1. Create the addon domain first

Step 2. Now add the following code in the .htaccess file

RewriteEngine on
RewriteCond %{HTTP_HOST} ^$ [OR]
RewriteCond %{HTTP_HOST} ^$
RewriteRule ^(.*)$$1 [R=301,L]
Step 3. Create a Index.htm file under folder 'formationpalm" and add the lines,

<frameset rows="*">
<p>This page uses frames, but your browser doesn't support them.</p>
<frame name="main" src="">


Step 4. Here is the main domain

So the inference is when you type it will be redirected to but the browser will show and not the redirected domain

Last edited by a moderator: