Discuss Wildcard DNS dynamic subdomain in the Apache Development forum on Dev Shed. Wildcard DNS dynamic subdomain Apache Development forum discussing HTTP Server general topics, configuration, and modules. Apache is an open source web server that runs on multiple platforms.
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.
Posts: 3
Time spent in forums: 3 h 10 m 59 sec
Reputation Power: 0
mod_rewrite - Wildcard DNS dynamic subdomain
Hey there.
Hopefully somebody can help me, i want it so when people goto dynamicuser.domain.com it redirects them to there profile page e.g. the profile pages are stored in public_html/user/dynamicuser.php and i want it so when a user goes to dynamicuser.domain.com it redirects them to the dynamicuser.php file (thier profile).
I've experimented with alot of different codes but none so far have worked, i have wildcard dns enabled also so i was wondering if anyone has any ideas
Posts: 14,790
Time spent in forums: 1 Month 1 Week 4 Days 2 h 37 m 42 sec
Reputation Power: 1059
Welcome to Dev Shed.
Did you search the forums or even page one of the current list of threads in this forum? There's an answered request for something similar about ten or twelve posts down. Start with that, add the MOD REWRITE sticky in this forum, modify for your needs, and post what you come up with.
__________________
# Jeremy
Explain your problem instead of asking how to do what you decided was the solution.
Posts: 81
Time spent in forums: 10 h 40 m 13 sec
Reputation Power: 9
im trying this way and its not really working for me. I want to make subdomains based on usernames on my site. It will be pulling them from a mysql database, table/username field.
Right now i have a script that calls profiles as /profile.php?user=$1
im trying this code below to make the subdomain but its not working, any ideas?