When you run the site in subdomain, you need to declare that subdomain (just the subdomain) in Site setting->Setup->Subdomains and add your domain there ex www,app Login to admin area