I want to upload my wordpress website from localhost to my actual website.
What should I do so that the website can access the MySQL db on the
remote server as it is on localhost? I do not have access to the
remote server, its mysql userid and passwd.
Secondly,
I am also unable to send emails from localhost through my website,
when a user registers and waits to receive an account activation link. How can
I configure this on localhost and the remote server separately?
In the future, I would like to make changes locally and then upload to the real URL. How can I do this?
My localhost uses:
- FileZilla
- PHP 5.3
- MySQL 5
- WordPress 3.4.1
- phpMyAdmin
on Windows
Thanks
You will need to copy your database structure over to your website host, if you export your database using phpmyadmin then reimport it on your host you will then need to replace localhost with your URL in the wp_options table, look for siteurl and home fields.
Once you have your database copied over copy your website files over then you will then need to edit your wp-config.php file to point to the new database.