Redirect/Subdomain with .htaccess
- by fractalbit
What i have currently:
A wildcard dns record. So that every subdomain points to www.galop.gr
A dynamically (php) generated .htacces file where i append the following code for every subdomain i want working:
RewriteCond %{HTTP_HOST} ^fractalbit.galop.gr$ [OR]
RewriteCond %{HTTP_HOST} ^www.fractalbit.galop.gr$
RewriteRule ^/?$…