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
11:40 pm May 1, 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
April 2026 Google Search Observations
AdSense Earnings and Observations - April 2026
what do they want?
Hello again, it's been a while
I need some SEO help
SEO question
Do you get tired of others copying your content?
5 SEO Tips That Actually Worked for My Blog in 2026
Home
Forums Index
Server Side
/
Apache Web Server
11:40 pm May 1, 2026