I have created a domain in hestiacp mahaviraenterprises.ml and started a successful worldpress website there. But now I have a new domain mahaviraenterprises.is-a.dev. How to transfer my site from mahaviraenterprises.ml to mahaviraenterprises.is-a.dev ? Because creating the whole website again is not possible.
Then you’ll also have to do a search and replace in Wordpress to change the domain name in all the config and all hardcoded URLs in pages. You can use wp-cli to do this or one of the WP database search replace plugins.
Look on the web, everything is very simple, create a website and a database, copy the wordpress folder of the old site to the new one, export and import the database, then fix it config.php (find it in the new site folder), change the name, username and password in the database.
Put your domains, and perform in the database, after the transfer of the site as I wrote above. Keep in mind the ldmyz prefix, you probably have your own wp_
UPDATE ldmyz_options SET option_value = replace(option_value, ‘https://site1.ru’, ‘https://site2.ru’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;