now days I create two files one for example.com and one for www.example.com because the wild card *.example.com doesn't work right for accessing example.com my question is how do I make example.com redirect to www.example.com using apache and not something like php. So I can have one virtual host configuration per domain.
|
feedback
|
|
Use:
in your virtual host configuration... Then you can redirect
| |||
|
feedback
|