ubuntu apache subdomains pointing to main domain
        Posted  
        
            by 
                Suhail Thakur
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Suhail Thakur
        
        
        
        Published on 2011-01-31T04:32:41Z
        Indexed on 
            2013/07/02
            23:09 UTC
        
        
        Read the original article
        Hit count: 521
        
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.
© Server Fault or respective owner