Forum Moderators: phranque

Message Too Old, No Replies

redirect all of domains to a php file via htaccess

My first topic here

         

cyberiaa

4:55 am on Mar 11, 2009 (gmt 0)

10+ Year Member



Hi-
I need to redirect(map) all of domains of a specific IP(or my server) to a file via htaccess.
In other words I don't want to add-on every new domain and link it to the file. I want an automatically process.
I should just set name server for the domain and it became ready to use and go to that php file.

Is it possible via htaccess? If not what should I add in httpd.config file? (I prefer htaccess).

Sorry for my English,
Thanks!

g1smd

9:46 am on Mar 11, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes it is possible. That's a question asked many times in the last few years.

What have you tried so far?