Unstoppable Domains โ€” Expired Auctions

Help with redirecting please?

Spaceship Spaceship
Watch

ZuraX

Established Member
Impact
42
I have a few dozen domains I wish to now point to one site.
I have given up on all but one or two of my sites now since I have way less time to come online.

In my .htaccess I have

Options +FollowSymLinks
RewriteEngine on
Redirect 301 / http://www.mymaindomain.net/

which works. But /whatever or /whatever.html(.php etc) still looks for a 404 error. Is there a way to redirect Everything to http://www.mymaindomain.net/?

Like http://www.olddomain.com or http://www.olddomain.com/whatever.php to just http://www.mymaindomain.net/?

I want to set up one account on my VPS for olddomain.com and park all my old domaisn on top of it and they all use the same .htaccess and redirect to http://www.mymaindomain.net/
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
why not add 1 addon domain in your cpanel account (if yours is a cpanel) and other domains as parked?
 
0
•••
Code:
RewriteEngine ON
RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule ^(.*)$ http://www.domain2.com/$1 [R=301,L]
 
0
•••
you can also try this..
RewriteEngine On
RewriteRule ^(.*)$ http://www.yournewmaindomain.com/$1 [R=301,L]
 
0
•••
bentong said:
you can also try this..
if you also want the subdomains.domain.com to end up pointing to one domain login to whm and click on dns functions click on "edit dns zone" and then edit the said domain (addon domain) and then add *.yourdomain.com. A 111.111.111.111 ,make sure it ends with a "." so it's fully qualified domain be sure to replace 111.111.111.111 with ip address assigned to your account.
 
Last edited:
0
•••
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Domain Recover
DomainEasy โ€” Live Options
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back