Posts: 91
Threads: 9
Joined: Sep 2006
I am sure this is not a logical thing to do. There are certainly much more simplier ways to forward a domain. But is it possible to redirect a parked domain? For example, parked domain redirects to addon domain? Just curious....
Posts: 374
Threads: 35
Joined: Jul 2006
You can redirect a parked domain whereever you want it to go.
Just set it to your site, and then set up your server to redirect it to your other site.
I do this with a few sites.
Posts: 91
Threads: 9
Joined: Sep 2006
Thanks for the answer. However, I believe it is more difficult with the following example:
Let's say, you have a domain, ABC.com which is registered at GoDaddy.com and have it parked at another hosting companying, XYZ Hosting. Therefore, ABC.com will be forwarded to the primary domain(DEF.com) on the XYZ account.
So you decide to use a third domain, GHI.com as an addon domain to DEF.com; you create its own web content. Is it possible for ABC.com to be redirected to GHI.com? There are no simple "type and click a button" option available the hosting company.
Can this be accomplished?
How about with a .htaccess file?
Posts: 374
Threads: 35
Joined: Jul 2006
sunnybeachcal Wrote:Thanks for the answer. However, I believe it is more difficult with the following example:
Let's say, you have a domain, ABC.com which is registered at GoDaddy.com and have it parked at another hosting companying, XYZ Hosting. Therefore, ABC.com will be forwarded to the primary domain(DEF.com) on the XYZ account.
So you decide to use a third domain, GHI.com as an addon domain to DEF.com; you create its own web content. Is it possible for ABC.com to be redirected to GHI.com? There are no simple "type and click a button" option available the hosting company.
Can this be accomplished?
How about with a .htaccess file?
Well if you had cpanel it would be very easy, as you can just do a add-on domain redirect.
An add-on domain is actually just a sub-domain for all intents and purposes, so redirecting via HTaccess with Mod_Rewrite would work fine.
Posts: 91
Threads: 9
Joined: Sep 2006
Unfortunately, this is a parked domain, there are no options available for redirection via the cPanel. But you're correct about editing the .htaccess file, I could add the following:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^parkeddomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^
http://www.parkeddomain.com $
RewriteRule ^(.*)$
http://www.addondomain.com / [R=301,L]
I had just added the parked domain to my account and still waiting for it to propagate. I'll test the code then.