Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Server Side
/
Apache Web Server
4:27 pm May 21, 2026
This page requires javascript.
Forum Moderators:
phranque
Message Too Old, No Replies
ServerAlias *
Ruben
Msg#:4311330
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?
phranque
Msg#:4311570
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.
coopster
Msg#:4311572
9:28 pm on May 12, 2011
(gmt 0)
Have you considered
_default_
[httpd.apache.org]?
Ruben
Msg#:4311678
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.
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Apr
,
Mar
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
May 2026 Google Search Observations
AdSense Earnings and Observations - May 2026
AI visibility audit
Adsense / Personal Manager / Support
Hacker spoofing as GoogleBot
Page indexed but live url test gets 500 error
Link collaboration strategies
in case you missed it .
Microsoft, AS8075. Google, AS396982.
Bad actor claiming to be OpenAi
Home
Forums Index
Server Side
/
Apache Web Server
4:27 pm May 21, 2026