Hi guys,
When i try to clone a website a to b the document root is always pointing to a.
why are the files getting served from a not from b ? also there is no way to specify the root folder before cloning.
this also happens when staging.
Do you clone a static site ? or dynamic one like WordPress ?
because dynamic sites might need some tweaks after cloning, like change URLs in database or files like .env (for laravel) maybe ?
adil its just wordpress. Urls are changed. But its serving the files from the source not the cloned one. Like there is no directory for the cloned website. I cannot see the path for the cloned one.
This sounds almost impossible. The document root is relative to the website home directory and depending on your cluster configuration the cloned wbsite could be on a different server to the source website.
Are you using any kind of proxy, WAF or similar? Maybe it's still sending the host header for the original domain.