View Full Version : Redirecting a parked domain
I have a parked domain on my account that is used for my brother's email account. He does not have a website yet his domain points to mine so typing in his name comes to my site.
What's the easiest way to redirect traffic from his domain to a blank page or something other than the root of my site?
Try below *htaccess code*
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} parked_domain$
RewriteRule ^(.*)$ something.html [L]
Annotation: something.html = "blank.html" or "default.html of BH" to subdirectory of the root of your site.
jon3330
03-13-2006, 05:29 PM
If you have not used up all of your addon domains make it a addon and put what ever as his index page is the addon file.
Try below *htaccess code*
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} parked domain$
RewriteRule ^(.*)$ http://parked domain/something.html [L]
Annotation: something.html = "blank.html" or "default.html of BH" of the root of your site.
This isn't working for me, I get 500 server errors when I try to access the parked domain with this code in my .htaccess file.
There is already a mod_rewrite block established by Wordpress that I tried to integrate this code into as well but no luck.
What's the trick to getting this to work?
I have modified some code into above #2 *htaccess code* (just delete "http://parked domain/"), and it works fine for me.
Please try it again!
Thanks DrRX, that fixed it right up!
is this the only way to redirect a parked domain? BH doesn't have it set up to be able to do this?
Reichling
09-17-2006, 10:19 AM
is this the only way to redirect a parked domain? BH doesn't have it set up to be able to do this?
Through like the CPanel? No.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.