Title: Setting up multiple app serverver
Last modified: August 21, 2016

---

# Setting up multiple app serverver

 *  [antonioye](https://wordpress.org/support/users/antonioye/)
 * (@antonioye)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/setting-up-multiple-app-serverver/)
 * I am trying to setup multiple app servers both pointing to the same ClouSE (mysql)
   instances. I have setup two Yapixx AMI instances where I enabled remote mysql
   access on the first instance and changed wp-config.php on the second to point
   to that mysql instance. I can access the first wordpress instance just fine but
   when I access the second one all I get is a blank page. What else am I missing?
 * [https://wordpress.org/plugins/wp2cloud-wordpress-to-cloud/](https://wordpress.org/plugins/wp2cloud-wordpress-to-cloud/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Artem Livshits](https://wordpress.org/support/users/artemlivshits/)
 * (@artemlivshits)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/setting-up-multiple-app-serverver/#post-4623747)
 * Could you check the Apache error log to see what errors you get? Also if you 
   set
 *     ```
       define( 'WP_DEBUG', true );
       ```
   
 * in wp-config.php, you may get more info about what’s going on.
 * On the MySQL machine, check that mysqld is listening on port 3306. `netstat -
   tan` would show this.
 * On the second webserver machine make sure that `DB_HOST` in wp-config.php is 
   set to the _internal_ IP address of the MySQL machine or to the _ec2-N-N-N-N…_
   DNS name of the MySQL machine (which AWS knows to resolve to internal IP in such
   cases). If you use external IP (or your _[http://www.example.com](http://www.example.com)_
   DNS name) then you’d need to open port 3306 in the firewall which you’d want 
   to avoid for security reasons (also you’ll get charged for traffic between the
   servers as it’s going through the external IPs).
 *  Thread Starter [antonioye](https://wordpress.org/support/users/antonioye/)
 * (@antonioye)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/setting-up-multiple-app-serverver/#post-4623767)
 * Yeah, I checked the httpd logs under /var/log/httpd and there were no errors 
   reported only the GET calls in access.log. I also made sure I could connect to
   the mysql instance running on the first instance from the second instance. Whats
   the best way to create the second instance? Should I create it from the “Launch
   Instance” in the installation instructions or should I make the second instance
   from the Amazon Console using the “Launch More Like This” option?
 *  Plugin Author [Artem Livshits](https://wordpress.org/support/users/artemlivshits/)
 * (@artemlivshits)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/setting-up-multiple-app-serverver/#post-4623772)
 * Either way works. In production, you’d probably want to create an AMI for the
   webtier, that is already configured and ready to launch.
 *  Thread Starter [antonioye](https://wordpress.org/support/users/antonioye/)
 * (@antonioye)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/setting-up-multiple-app-serverver/#post-4623782)
 * I re-created the second EC2 instance by making a copy of the the first and here
   is the error I get after I enabled WP_DEBUG:
 * [Wed Feb 19 15:05:57 2014] [error] [client x.x.x.x] PHP Notice: register_sidebar_widget
   is **deprecated** since version 2.8! Use wp_register_sidebar_widget() instead.
   in /var/www/wordpress/wp-includes/functions.php on line 2919
 *  Plugin Author [Artem Livshits](https://wordpress.org/support/users/artemlivshits/)
 * (@artemlivshits)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/setting-up-multiple-app-serverver/#post-4623785)
 * That’s just a warning that wouldn’t make your site whitescreen. Do you still 
   have the problem on the second webtier? If so, send email to support at oblaksoft
   dot com and someone will take a look at your config.
 *  Thread Starter [antonioye](https://wordpress.org/support/users/antonioye/)
 * (@antonioye)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/setting-up-multiple-app-serverver/#post-4623788)
 * Thanks! Yes, I am still getting a whitescreen on the second webtier. I will submit
   the issue to oblaksoft support.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Setting up multiple app serverver’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp2cloud-wordpress-to-cloud.svg)
 * [WP2Cloud](https://wordpress.org/plugins/wp2cloud-wordpress-to-cloud/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp2cloud-wordpress-to-cloud/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp2cloud-wordpress-to-cloud/)
 * [Active Topics](https://wordpress.org/support/plugin/wp2cloud-wordpress-to-cloud/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp2cloud-wordpress-to-cloud/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp2cloud-wordpress-to-cloud/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [antonioye](https://wordpress.org/support/users/antonioye/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/setting-up-multiple-app-serverver/#post-4623788)
 * Status: not resolved