WordPress.org

Ready to get started?Download WordPress

Forums

Running WordPress on multiple web servers (10 posts)

  1. HTF
    Member
    Posted 2 years ago #

    Hi,

    I have WordPress installation running on two web servers (Nginx). There is unidirectional synchronization from server A to server B and I'm using lsyncd for this purpose.

    I'm not sure how to solve the problem with access to admin back-end. My initial idea was to create rewrite rule on the web servers as follow:

    http://example.com/wp-admin/ to admin.example.com on both web servers - however the problem is that WordPress can be access it only with the main domain (example.com).

    Is there any other solution fr this?

    Regards

  2. Are they both multisites, or are you just trying to sync WP between two servers?

  3. HTF
    Member
    Posted 2 years ago #

    I'm trying to sync WP between two web servers.

  4. Multisite is a specific function of WordPress, used when you run multiple instances from one install of WP (see http://codex.wordpress.org/Create_A_Network )

    Moving to Advanced for you :)

  5. TCBarrett
    Member
    Posted 2 years ago #

    I would guess that there is a way to achieve this.

    When one sets up network (multisite) WordPress with the sunrise Domain Mapping plugin, it is possible to have the site on one domain (the pretty url) and the admin on the multisite's domain (blog1.domain.com - assumin subdomain setup).

    So I would think it would be possible to set site_url to admin.example.com , and use hooks to make sure visitors and page content points at the public www name.

  6. HTF
    Member
    Posted 2 years ago #

    Hi,

    Thanks for reply.

    BTW do you know of multi-site setup has any impact on the performance. I'm wondering if it's better to have separate WP installations or multi-site in terms of performance?

    Regards

  7. Jesús Franco
    Member
    Posted 1 year ago #

    I'd think WP-MU it's better in performance at least in the use of resources of your server, since you don't need to have a lot of duplicated copies of wp-admin, themes and plugins you use in more than one site. You can handle as super-admin which themes and plugins admins of sub-sites have access.

    I've reduced literally thousands of duplicated files just by merging old individual sites into just one multisite network. Even the load of my server it's decreasing noticeably.

  8. aproko247
    Member
    Posted 1 year ago #

    how do i place advert on my wordpress hosted website?

  9. Jesús Franco
    Member
    Posted 1 year ago #

    @aproko247 I think you should start a new thread for this question.

  10. Lincolnislam
    Member
    Posted 1 year ago #

    How can i make a online reporting site with WordPress?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.