• 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)
  • Thread Starter 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 7 years ago by Kalyonko.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

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

    Thread Starter Kalyonko

    (@kalyonko)

    Ok, thanks a lot!

    Dion

    (@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)
  • The topic ‘Apache/nginx’ is closed to new replies.