ubuntu apache subdomains pointing to main domain
- by Suhail Thakur
I have a ubuntu server with apache setup, the main domain on the server is a subdomain app.example.com, which is working fine.
Now if I setup john.app.example.com, then that also is displaying the web page of app.example.com, the DocumentRoot for john.app.example.com is different, still it shows the web page of app.example.com. how can I resolve this, so john.app.example.com displays the pages that are there in its DocumentRoot.