Hello, i am trying to create subdomain as different web site. I enabled "Create subdomains as web site" from setting (admin panel) Add subdomain(vhost) : Added index.php in path (/var/www/clients/client1/web2/web/lp/hfm) : Content inside index.php => "Hello World" When i tried to open subdomain url it showing default page : When i checked /var/www/clients/client1/web2/web/lp/hfm : There is only index.php which i created and there is no index.html default file. Help me how to fix?
The folder / is the web root, e.g. /var/www/client0/web1. So if you use /lp/hfm, then the folder is /var/www/client0/web1/lp/hfm. So if you want to have it inside of the document root of the main website, which is the /web folder, you must indeed use /web/lp/hfm as folder.