Welcome to WebmasterWorld Guest from 54.234.8.146

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

ServerAlias *

     

Ruben

2:25 pm on May 12, 2011 (gmt 0)

10+ Year Member



I want every domain which is not used by DirectAdmin on a server to request a index.php in a certain folder.

Is ServerAlias * a good option for this?

phranque

9:25 pm on May 12, 2011 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



as long as duplicate content is not an issue...

or if it is you could implement a 301 redirect for all but the canonical hostname.

coopster

9:28 pm on May 12, 2011 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Have you considered _default_ [httpd.apache.org]?

Ruben

6:11 am on May 13, 2011 (gmt 0)

10+ Year Member



The thing is, I want to let people create custom sites using php. I need a simple way that all domain names which point to my ip via DNS open up an index.php. In that file I read the hostname and serve content depending on the domainname.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month