I am creating sub folders on my domain in this format:
http://example.com/f1
.
I'm creating the folders like this. I want to access their contents with the url in this format:
http://f1.example.com
not in http://example.com/f1.
I am using apache linux OS with php as server language. Please help with this. How can I do this?