Support » Localhost Installs » Apache/nginx

  • Kalyonko

    (@kalyonko)


    I have the following question: if I develop a site locally on an apache driven server, but the live server is nginx driven, could it be a problem when I transfer the site online? Or if I change the local server from apache to nginx or vice versa after the development is done, does it make difference?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Kalyonko

    (@kalyonko)

    Or maybe the right question is: do I have to set the local server to be the same like the live one from the very beginning, or I can change it in the end, or it doesn’t matter?…

    • This reply was modified 4 weeks ago by  Kalyonko.
    Moderator Steve Stern

    (@sterndata)

    it doesn’t matter. WordPress is an application that runs below that choice and will work with either.

    Kalyonko

    (@kalyonko)

    Ok, thanks a lot!

    DionDesigns

    (@diondesigns)

    Br careful when migrating your site from Apache to nginx!

    WordPress is fairly dependent on .htaccess files, and nginx doesn’t support .htaccess files. You can get WordPress to work with nginx, but you must manually make changes to the nginx master configuration whenever WordPress changes the .htaccess file, and then restart nginx to activate the new configuration.

    Use of nginx with WordPress will require a VPS with root access, a dedicated server, or custom managed hosting that is WordPress-specific.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.