NameSilo

Redirect

SpaceshipSpaceship
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
0
Close
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
Close
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
Close
So what did you end up doing? Please share for benefit of others...
 
0
Close
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back