You didn’t “disable and re-enable” your domain (there is no such functionality), you removed the initial domain from your account, and then added a new domain to your account.
The first domain name of your account is assigned to the directory htdocs
, whereas any domain names added to the account later on will get their own directory, like example.com/htdocs
. Which domain you add makes no difference, even if that domain was assigned to a different directory before.
To fix this, you can move your website from the htdocs
folder to the <your domain>/htdocs
folder.