NameSilo

Redirect

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

zapdaddy

Established Member
Impact
57
Can anyone tell me how to redirect all sub domains to the original domain.Example : anypossiblesub.com redirect to mainpage.com

Any help or point me to the correct thread would be appreciated. I have looked everywhere...

Thanx
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
You could use PHP via the header() function:

header("Location: URL");

URL is the destination http url ( I'm not allowed to post a real URL yet :)

Or you could use a server option like mod_rewrite.
 
0
•••
0
•••
If you have cPanel hosting you can redirect as much as you want in the subdomains dashboard.

Or, if you have Wordpress installed on your site, you can download one of the many redirection plugins. E.g. I use "Redirection" by John Godley on one of my sites (http://urbangiraffe.com/plugins/redirection/). Works well - not affiliated.
 
0
•••
Thanks to everyone for the suggestions. Apparently there are many ways to achieve the redirect. Finally got it figured out with much help from you all and the great support at Dynadot!
 
0
•••
So what did you end up doing? Please share for benefit of others...
 
0
•••
0
•••
Truehost — .com domains from $4.99, hosting includedTruehost — .com domains from $4.99, hosting included

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back