XF 2.2 Moving from subdomain to maindomain: Copy Xenforo-files into public_html folder?


Good Morning,

I have installed XenForo (migrated from Vbulletin), in a Subdomain: https://www.xxx.mydomain.net in a folder inside the public_html folder. Now I want to move back to the Maindomain and put the files in the public_html folder.

Can I just copy all of the files into public_html folder and the forum will work?