homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

ServerAlias *

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

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?



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

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.


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

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


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

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved