Forums

Moving from Windows to Linux/Apache (9 posts)

  1. CacCan
    Member
    Posted 1 year ago #

    Searching this site and the web in general returns a number of results for moving a WordPress blog from one server to another. However, as far as I can see they all involve moving between the same server operating systems, usually Linux/Apache --> Linux/Apache.

    I have a 3.0.1 WordPress installation (Thesis 1.8) on a Windows 2008 Server/IIS7. It works fine, but for various reasons I want to move it to a Linux/Apache server.

    Anyone know of any instructions for doing this?

    TIA

  2. The file copy of your public_HTML folder and the mysql db should be pretty much that same, I think. I checked a couple blogs on the subject, and most people say that it works fine.

  3. CacCan
    Member
    Posted 1 year ago #

    Hi ipstenu.

    So what do you suggest should be the procedure? Here's my guess based on your reply...

    1. Backup the database from the original installation and download to local PC.
    2. Copy public_HTML folder from original installation to local PC.
    3. Install WordPress on the Linux/Apache server.
    4. Copy all of the original public_HTML folder to the Linux server.
    5. Import the database backup to the new installation on the Linux server.

    Close?

  4. James
    Happiness Engineer
    Posted 1 year ago #

    1. Correct.
    2. Correct.
    3. No need to do this since you've got the original database and files.
    4. Correct.
    5. Correct.

    If you're changing domain for any reason, make sure that you change the two URLs at Settings/General to the new domain before backing up.

    Also, you may need to make changes to the wp-config.php file to connect to the database on the new server.

  5. I was going to say make sure you bring over any hidden files like .htaccess, but I don't know if windows uses them at all or not. If you have them, you may need new ones instead of the ones you have so ... Just be aware that you might have to reset your permalinks :)

    Thanks for covering, James :)

  6. James
    Happiness Engineer
    Posted 1 year ago #

    You're welcome, Mika! And, thanks for reminding me about the permalinks.

  7. CacCan
    Member
    Posted 1 year ago #

    Oops!

    Thanks for the try guys, but I just realized that Windows Servers don't have a public_html folder.

    I had to drop this matter for a while to go put out some fires elsewhere. Just came back to this and when I inspected the original blog location (Windows 2008 Server) with my FTP program it hit me straight away that there was no public_html folder to copy.

    WordPress was installed into a folder called /blog off the root (wwwroot) of the Windows server.

    Also, Windows does not use an .htaccess file.

    Anyone got any more information specifically on moving a WordPress installation from a Windows 2000 server to a Linux/Apache server?

  8. James
    Happiness Engineer
    Posted 1 year ago #

    Basically, it's all the same, except this time you're moving the /blog/ directory, and don't worry about .htaccess since you don't have one.

  9. And wwwroot is the same as public_html :) Even some apache servers use it. The name is arbitrary, but there are some usual suspects ;)

Topic Closed

This topic has been closed to new replies.

About this Topic