• Hi all,

    I have a website built on the localhost WordPress running on my PC. I want moving it to the domain hosted on Godaddy server. I already has install WordPress on the domain, say aaa.com. There is no website built on it YET.

    I’ll follow;
    Moving WordPress
    https://codex.www.ads-software.com/Moving_WordPress

    I suppose the steps described on following section suitable for me? If it is NOT please advise which section of “Moving WordPress” shall I follow? Thanks

    Moving to a New Server:

    (Please shed me some light on following points)

    1)
    If You Don’t Care If Your Old Blog Works
    (I suppose Old Blog refers to the website on the localhost WordPress ?)

    2)
    Download a copy of the main wordpress files from your OLD blog to your hard drive and edit wp-config.php to suit the new server.
    (I suppose this step can be omitted in my case because the OLD blog is already on my PC ? I just make the necessary changes on my PC)

    3)
    Go back to your OLD blog and go to Administration > Settings > General and change the url (both of them) to that of your new site.
    (I just do it on Dashboard of the localhost WordPress ?)

    4)
    Login on your server and go to phpmyadmin and export as file and save your database (but keep the old one just in case), upload this new database and the copy of the wordpress core files with the edited wp-config.php to your new server. That’s it!
    (I suppose “your server” refers to the localhost WordPress, i.e. my PC ?)

    Please advise. Thanks in advance.

    Regards
    satimis

Viewing 7 replies - 1 through 7 (of 7 total)
  • Its quite easy,

    1.copy all you local files and upload them throughout ftp.
    2.once you export your local database, you must to do a replace of all urls.
    3.Import the datebase to godaddy servers!
    4.Change your wp-config credentials of mysql.
    5.Done

    Thread Starter satimis

    (@satimis)

    Hi Diogo,

    Thanks for your advice.

    > 1.copy all you local files and upload them
    > throughout ftp.

    Whether following document is relevant?

    How To Upload WordPress via FTP with FileZilla
    https://www.siliconbeachtraining.co.uk/blog/how-to-upload-wordpress-filezilla-ftp/

    > 2.once you export your local database, you
    > must to do a replace of all urls.

    Whether perform following steps on Godaddy Website (I host the website on it)?

    On Dashboard of WordPress
    -> Settings -> General Settings
    Make change on;
    – WordPress Address (URL)
    – Site Address (URL)
    – E-mail Address

    > 3.Import the datebase to godaddy servers!

    Whether following document is relevant”

    Importing SQL Files into MySQL Databases Using phpMyAdmin
    https://support.godaddy.com/help/article/6802/importing-sql-files-into-mysql-databases-using-phpmyadmin

    > 4.Change your wp-config credentials of
    > mysql.

    Whether following document is relevant?

    Resetting Your Password
    https://codex.www.ads-software.com/Resetting_Your_Password

    Re: Through MySQL Command Line on above document;
    I prefer to run command lines. I have no problem running them on my PC.

    How can I run them on Godaddy website?

    Thanks in advance

    Regards
    satimis

    1. You can follow the tutorial, it is very easy! i do use FileZilla!
    It will take you like 10 minutes by FTP, you could also zip-up all the files and upload them throug “godaddy file manager” ( less than a minute)!

    2. No, just open up the file you just exported with notepad, and DO a find and replace! example: find “https://localhost:31057/” replace with “https://yourdomain.com/”

    3. You can follow that tutorial, i think there is a step missing, after you create you database and user, you must to attach your user to your database and assign him all the privileges.

    4. You clearly did not get me, have you ever edited wp-config.php?

    Thread Starter satimis

    (@satimis)

    Hi Diogo,

    point 1.
    Noted and thanks

    > 2. No, just open up the file you just
    > exported with notepad,
    > and DO a find and replace! example: find
    > “https://localhost:31057/”
    > replace with “https://yourdomain.com/”
    Pls advise on which file? I suppose there will be bundle of files to be exported to Godaddy website from my PC

    point 3.
    Noted and thanks

    > 4. You clearly did not get me, have you
    > ever edited wp-config.php?

    $ grep define www/wordpress/wp-config.php | grep DB
    define(‘DB_NAME’, ‘wordpress’);
    define(‘DB_USER’, ‘root’);
    define(‘DB_PASSWORD’, ‘mysqlpassword’);
    define(‘DB_HOST’, ‘localhost’);
    define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);

    Whether make change on them as follows;
    define(‘DB_NAME’, ‘wordpress’); #unchange
    define(‘DB_USER’, ‘website_admin’);
    define(‘DB_PASSWORD’, ‘new_password’);
    define(‘DB_HOST’, ‘localhost’); #any change here?
    define(‘DB_CHARSET’, ‘utf8’); #any change here?
    define(‘DB_COLLATE’, ”); #any change here?

    Most the time on my PC I ran MySQL commands to configure MySQL. Thanks

    Regards
    satimis

    Thread Starter satimis

    (@satimis)

    Hi all,

    Hi all,

    This is my first time running FileZilla encountering difficulty to connect Godaddy’ server.

    I’m trying to connect Godaddy’s server moving WordPress blog from my PC to their server without success.
    Warning running Site Manager to connect Godaddy :
    Response: 220———- Welcome to Pure-FTPd [privsep] [TLS] ———-
    Response: 220-You are user number 53 of 500 allowed.
    Response: 220-Local time is now 01:30. Server port: 21.
    Response: 220-This is a private system – No anonymous login
    Response: 220 You will be disconnected after 3 minutes of inactivity.
    Command: USER admin
    Response: 331 User admin OK. Password required
    Command: PASS *************
    Response: 530 Login authentication failed
    Error: Critical error
    Error: Could not connect to server

    Please advice
    1) Do I need install FileZilla on Godaddy’s server?
    2) Which password shall I use? There are several passwords
    I have 2 domains registered and hosted on Godaddy, say
    aaa.com
    bbb.com
    both under same multi hosting plan

    I’m now connecting bbb.com account
    passwords available:-
    – login Godaddy server
    – login WordPress on Godaddy server
    – logn MySQL on Godaddy server

    Please advise. TIA

    B.R.
    satimis

    2. How do you think to export your database?? if you do it with phpmyadmin, it will output one single file!

    4. Are you sure you dont have to change your database name, i think godaddy prefixes all you databases, but i am not sure!

    Thread Starter satimis

    (@satimis)

    @ Diogo,

    I’ll make a test on my server here first making use of 2 VMs, both running Ubuntu 12.04 desktop 64 bit with WordPress 3.5.1 installed. The latter was download on WordPress website.

    virtualizer Oracle VirtualBox

    URL
    VM-1 192.168.0.201
    VM-2 192.168.0.202

    WordPress are installed on;
    VM-1
    /home/satimis/www/wordpress
    VM-2
    /home/satimis/www/wordpress
    respectively

    Both VM are now running and WordPress can be login on browser with;
    VM-1 192.168.0.201/wordpress/wp-admin/
    VM-2 192.168.0.202/wordpress/wp-admin/

    I’m now building a simple website on each of them. After completion I’ll move the website on VM-2 to VM-1 running following steps.

    1)
    On VM-1 rename all folders on ~/wordpress/ as *.old

    2)
    On VM-2 run;
    $ rsync -a -r -v -e “ssh -l VM1-username” ~/path/to/wordpress/* 192.168.0.201:/home/satimis/www/wordpress/

    copying all relevant folders from VM2 to VM-1

    I’ll do the reconfiguration concerned either before move or afterwards.

    3)
    Regarding database table I’ll use “mydumper” (MySQL command. On older version known as mysqldumper) to do job.

    If successful I’ll post the complete steps here. On Internet I found an article regarding upload mydumper to Godaddy and run it there.

    Step 1) and 2) above are easy to sort out on Godaddy website.

    Comment and suggestion are welcome. Thanks.

    Regards
    satimis

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Move WordPress’ is closed to new replies.