change DocumentRoot not take effect
Posted: Thu Jan 12, 2023 10:09 am
Hello All,,
I create new subdomain in my vps (perpus.blitarkota.com),
Then i create new sub directory in public_html for my laravel app. I pull source code with git in my sub directory, so i change the DocumentRoot in vhost from
But it's not working, the web still pointing to public_html, there is no changing at all.
Thanks
I create new subdomain in my vps (perpus.blitarkota.com),
Then i create new sub directory in public_html for my laravel app. I pull source code with git in my sub directory, so i change the DocumentRoot in vhost from
toDocumentRoot /home/admin/web/perpus.blitarkota.com/public_html
DocumentRoot /home/admin/web/perpus.blitarkota.com/public_html/sim-perpus/public
Then i restart the apache service with
.sudo service apache2 restart
But it's not working, the web still pointing to public_html, there is no changing at all.
May I know what I missed during the configuration process?
Thanks