• Hi there.

    I have redisigned a website on my localhost and it is ready to move to server. I am planning to do that with Duplicator plugin.

    Preblem is that I have never done that before and I really need your help.
    Current website is also “powered by wordpress” and it is on a server.

    1.) Do I need to delete all the files from public_html before moving new website online with duplicator?
    2.)Can I just copy public_html folder to my computer and if something goes wrong with moving new website to server I just upload that folder with old website because I cannot have any downtime.
    3.) Can I leave existing database online and just create new one because my hosting enables me to have 3 SQL databases. One is used by existing website and for the new webiste I will create a new database.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have redisigned a website

    If that means you have customized a theme, you only need to copy the new theme to your site and activate it and set your widgets and such.

    1.) Do I need to delete all the files from public_html

    No. You need only to upload whatever is not already there, and then you will have to do some editing of wp-config if you will be switching to a new or different database.

    2.)Can I just copy public_html folder to my computer and if something goes wrong with moving new website to server I just upload that folder with old website

    The wp-content folder and the wp-config file are about all you really need there…

    I cannot have any downtime.

    Then you might want to do a completely-separate installation so you can just re-point your domain name to it and never miss a beat.

    3.) Can I leave existing database online and just create new one

    Yes, it sounds like your host will allow that, but you will have to do more that to “just create a new one”. If you want things to be right the moment you flip the switch, the new one will need to have all your site’s content inside and checked before you re-point your domain to it and tell WordPress to begin using it.

    Thread Starter enjoyordie

    (@enjoyordie)

    Well, current website uses older version of wordpress so what I really want to do is delete everything there is on the server and start from scratch but I want to have a backup of existing site in case something goes wrong or in case client changes his mind.

    It is not just a redesign, it is a lot of new content, widgets and plugins which are already activated and setup on my localhost so I really don’t want to do that again.

    As I mentioned I want to just move new wordpress with new theme to a server using Duplicator and I will manually create a SQL database in cPanel.

    I will use this tutorial: https://www.youtube.com/watch?v=86b7s5xtdP8

    So my question here really is: Can I just follow steps in this tutorial no matter that there is already a wordpress instalation on my server or I need to delete all the content from the server for this to work?

    You can do one thing. Create an backup of files and database. Save it to your local machine. Move existing files from server into a subdirectory. Then start your new site in the root.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Moving new site from localhost to server with existing site’ is closed to new replies.