Bug #2211


Setup for

Added by Boone Gorges about 11 years ago. Updated over 9 years ago.

Priority name:
Category name:
Target version:
Start date:
Due date:
% Done:


Estimated time:
Deployment actions:


Hi André,

We'd like to have a sandbox environment where users can play with a tricked-out installation of CBox, and we'd like it to live at (It needs to be separate from, because the latter site is intentionally pared down a bit from the default CBox install, to create a focused support community, so we don't want people messing around with test content there.) Basically, same setup as described at #2142, though it doesn't matter if we have a new server user (the existing cbox user would be fine). Thanks!

Actions #1

Updated by local admin about 11 years ago

  • Status changed from Assigned to Reporter Feedback

Hey, ok I configured a new virtual host with the web server and made a copy of the current cbox folders there, so that the permissions would be be equal.

The vhost config:

<VirtualHost *:80>
        DocumentRoot /home/cbox/demo
        CustomLog logs/demo_log combined
        ErrorLog logs/demo_error
        SecRuleRemoveById 970901

The folder:

[root@commons ~]# ll /home/cbox/demo/
total 176
-rw-rw-r--.  1 cbox cbox    1766 Oct  3 14:28 env.php
-rw-rw-r--.  1 cbox cbox     600 Oct  3 14:25 env-sample.php
-rwxr-xr-x.  1 cbox apache   395 Oct  2 13:34 index.php
-rwxr-xr-x.  1 cbox apache 19929 Oct  2 13:34 license.txt
-rwxr-xr-x.  1 cbox apache  9177 Oct  2 13:34 readme.html
-rwxr-xr-x.  1 cbox apache  4264 Oct  2 13:34 wp-activate.php
drwxr-xr-x. 10 cbox apache  4096 Oct  2 13:34 wp-admin
-rwxr-xr-x.  1 cbox apache  1354 Oct  2 13:34 wp-app.php
-rwxr-xr-x.  1 cbox apache   271 Oct  2 13:34 wp-blog-header.php
-rwxr-xr-x.  1 cbox apache  3522 Oct  2 13:34 wp-comments-post.php
-rw-rw-r--.  1 cbox cbox    1332 Oct  3 14:27 wp-config.php
-rwxr-xr-x.  1 cbox apache  3177 Oct  2 13:34 wp-config-sample.php
drwxr-xr-x.  7 cbox apache  4096 Oct  3 14:33 wp-content
-rwxr-xr-x.  1 cbox apache  2726 Oct  2 13:34 wp-cron.php
drwxr-xr-x.  9 cbox apache  4096 Oct  2 13:34 wp-includes
-rwxr-xr-x.  1 cbox apache  1997 Oct  2 13:34 wp-links-opml.php
-rwxr-xr-x.  1 cbox apache  2395 Oct  2 13:34 wp-load.php
-rwxr-xr-x.  1 cbox apache 29084 Oct  2 13:34 wp-login.php
-rwxr-xr-x.  1 cbox apache  7712 Oct  2 13:34 wp-mail.php
-rwxr-xr-x.  1 cbox apache  9916 Oct  2 13:34 wp-settings.php
-rwxr-xr-x.  1 cbox apache 18299 Oct  2 13:34 wp-signup.php
-rwxr-xr-x.  1 cbox apache  3700 Oct  2 13:34 wp-trackback.php
-rwxr-xr-x.  1 cbox apache  2788 Oct  2 13:34 xmlrpc.php

Then I reloaded the web service:

[root@commons ~]# service httpd configtest
Syntax OK
[root@commons ~]# service httpd reload
Reloading httpd:
[root@commons ~]#

Hope everything works. Just let me know.

I'll keep an eye on the traffic/load of the demo site, if it gets out of control it may be advisable to move it to the dev server though. I'm assuming that the code that goes into the demo site is pretty well vetted, right?

Actions #2

Updated by Boone Gorges about 11 years ago

Thanks, André. This sounds like it should work fine, but I'm not currently able to connect to - I get a "can't find the server" error, as if there's a DNS issue. (Same with my cell phone, different DNS server.) Maybe the storm will make it take longer to propogate? Have you checked from an external IP?

Actions #3

Updated by local admin about 11 years ago

Hmm's not resolving for me yet:

bash-4.2# nslookup

** server can't find NXDOMAIN

Just to be sure, did we create the CNAME at the name server?

Actions #4

Updated by Boone Gorges about 11 years ago

Shoot, probably not. My bad. Lemme have a look.

Actions #5

Updated by Boone Gorges about 11 years ago

OK, I set up an A record to point * to I'll circle back in a few hours and try again.

Actions #6

Updated by Boone Gorges about 11 years ago

  • Status changed from Reporter Feedback to Assigned
  • Assignee changed from local admin to Boone Gorges

It's resolving just fine now. Thanks, André! I'm going to reassign this ticket to myself for the time being, so that I can complete the setup. Thanks again.

Actions #7

Updated by Boone Gorges over 9 years ago

  • Category name changed from Server to
  • Status changed from Assigned to Resolved

The demo site is up and running.


Also available in: Atom PDF