By mohamdsip
How can I do that, and I want to install SSL with a certificate I have it,
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I recommend exporting your Wordpress site. To do this, you go to Dashboard > Tools > Export. This will also export your users, which I assume is why you want to export your database. To import your Wordpress site, install Wordpress and simply go to Dashboard > Tools > Import and upload your file.
Hope this helped you!
The above method works, however does not migrate your theme or any installed plugins. A different method if you have SSH access on both servers is:
ssh username@old_server_ip and navigate to your web root cd /path/to/old_webrootmysqldump -p -u DBUSER DBNAME > DBNAME.sql and enter the database password when prompted.wp-config.php file if you do not remember. **scp -r /path/to/old_webroot/* username@new_server_ip:/path/to/new_webroot. This will copy all your WordPress file(s) and the database export from your current server to the new server.ssh username@new_server_ip and navigate to the web root cd /path/to/new_webroot mysql -p -u DBUSER DBNAME < DBNAME.sql.You will need to update your wp-config.php file with the new database credentials if they have changed. Once you verify your site is working on the new server, be sure to delete the DBNAME.sql file.
Another method is to use a migration plugin:
Some resources:
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.