Hello,
I am trying to figure out how to move my site from a sub-domain to the primary domain of my website created by cyberpanel.
Originally, I created the new website at “dev.example.com” as a staging site to build it while the old website was still functional at “example.com.”
Now that the new website is ready to go, I want to switch “dev.example.com” → “example.com.” Searching this forum and the internet, I have been unable to find a solution. Many posts said it is not possible to do within cyberpanel and I saw that it is a tracked feature request.
I tried to utilize the Clone/Staging functionality for wordpress but I kept getting a “Failed to create child-domain for staging environment. [404].”
I also tried to add it as a domain but I kept getting a “Error message: Virtual Host Directory already exists. [404].” I searched my server for the virtual host directory but only the one for “dev.example.com” exists.
Do I need to edit my vHost Conf file? I am at a loss for what to do. Any help would be much appreciated!
Thank you ahead of time.
