NameSilo

Redirection Problem

Spaceship Spaceship
Watch

ajviloria

Established Member
Impact
2
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
put this in .htaccess on the root folder containing:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
 
0
•••
but i have applied it in a domain parking. how can i put that code in the root folder?
 
0
•••
what parking site are you using?
you can still do that if you host the domain yourself on your hosting account and just use the cname or A of the parking program
ajviloria said:
but i have applied it in a domain parking. how can i put that code in the root folder?
 
0
•••
I am using sedo, and my hosting is dreamhost. can I still do that, im still a newbie with this parking stuff..
 
0
•••
newbie?
i don't know what's your reason of 301 if you just want to park it and making your life complicated? but anyways it can be done.

host the said domain on dreamhost and then put the .htaccess on it's root folder the contents I've already mentioned and put on it as well
index.php containing
Code:
<?php $URL="http://sedoparking.com/domain.com";
header ("Location: $URL");
exit();
?>
that should do it.

ajviloria said:
I am using sedo, and my hosting is dreamhost. can I still do that, im still a newbie with this parking stuff..
 
0
•••
thanks for the info..got it..will try this method... reps to you
 
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back