How do I change domain directory

I want to change this directory to htdocs not /
there is a wordpress website on /htdocs

I created this website with a free domain name, then I bought a domain name from google domains ( I tried to remove old domain and use the new one but the directory is always pointing

Sorry but this is impossible.
If the old domain is still active on your account, then you could park your new domain onto it.
But if you deleted your old domain then sorry you have to manually move the old /htdocs to /


Thanks @Frank419
It is working now.
I moved all the file from /htdocs to /
Then I changed the installed wordpress directory and website URL from controlPanel/Sofaculus/Wordpress management.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.