Hi again @browniecoffee
Sure it's possible, you just have to point your Document Root to the corresponding folder. You should be able to that easily if your hosting has cPanel.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I have question. Actually my website url is www.example.com/folder.
Is it possible to have only www.example.com without move my app on root folder in shared hosting ?
Thank you by advance.
Bye .
Exactly @rodrigo.pedra !
Although actually my suggestion is to move the site from the subfolder to the root of the domain, without actually moving the code at file system level.
So, if he changes the webserver Document Root (be it Apache or NGINX) from the cPanel, he shouldn't need to move the code, but now be able to access the site at domain root on the browser.
So I guess we are basically saying the same (although my english can be confusing sometimes hehe).
Please or to participate in this conversation.