iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Webmaster Resources Discussion Forum Sitemaps and robots and logfiles -- Oh My! If you have any questions, comments, concerns and/or ideas about the tools currently available to webmasters to make their lives... 'easier'. Here's where you need to be. Know of a good tool? Post it here. Got something funny in your logfiles? Maybe we can help.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-11-2008, 03:30 PM
WebProWorld New Member
 
Join Date: Mar 2007
Posts: 9
SEOHolicc RepRank 0
Default Is there a way to test a CMS on the live server?

Hey Everyone,

I am new to CMS's and I was just wondering if there is an easy way to test site changes without having to work on a live site. I would really like to be able to make my changes in some sort of testing area on the site and then if everything is ok, the changes can then be transfered right over to the live files.

This is mainly so my clients can approve what I have done and just so if something breaks, nothing is wrong on the live site, no matter how short a period of time it may be.

Thanks,
Alex
Reply With Quote
  #2 (permalink)  
Old 01-11-2008, 04:25 PM
wige's Avatar
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,651
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: Is there a way to test a CMS on the live server?

I take it then you currently have the CMS "live" on the web site, and are looking for a way to create a second instance of that CMS for testing purposes, as opposed to wanting a pure testing environment before you go live?

This will probably depend on the specific CMS that you are using, but most should support multiple instances or use on multiple sites on a single server. I would check with the provider of the CMS solution for instructions on how to do this, and then create a subdomain to hold the alternate site. Secure that subdomain in htaccess so that it can only be accessed through your IP Address or that of your client.

RewriteEngine on
RewriteCond {REMOTE_ADDR} !(your.ip|their.ip)
RewriteRule - http://www.yourlivedomain.com [R=301, L]

Obviously that is just a hack, and not for secure applications, but it is quick and effective, and ensures that no content from the server will be sent to the visitor, unlike the use of Allow/Deny rules.
__________________
The best way to learn anything, is to question everything.
Reply With Quote
  #3 (permalink)  
Old 01-11-2008, 07:03 PM
WebProWorld Member
 
Join Date: Aug 2003
Location: Jersey City, NJ
Posts: 74
jazzmatazz2005 RepRank 0
Default Re: Is there a way to test a CMS on the live server?

When im looking to test out a CMS i just go to Home - OpenSourceCMS

That site allows you test out a lof of CMS systems
__________________
It's better to do business with me than against me!
Reply With Quote
  #4 (permalink)  
Old 01-11-2008, 07:52 PM
iany's Avatar
WebProWorld Veteran
 
Join Date: Sep 2003
Location: Stirling, Scotland
Posts: 321
iany RepRank 1
Default Re: Is there a way to test a CMS on the live server?

You could also install apache and php on your local machine and test there before you even upload to server.

However, I keep a test version on my server with a different set of tables. Any CMS that I have worked with have facility to install mutiple copies with a prefix on table name.
Reply With Quote
  #5 (permalink)  
Old 01-11-2008, 10:00 PM
WebProWorld New Member
 
Join Date: Dec 2007
Posts: 3
2GoodGuys RepRank 0
Default Re: Is there a way to test a CMS on the live server?

Ian is on the right track. There is even a better way than to install each of those components individually. Check out WampServer at PHP Apache MySQL avec WampServer 2 : installation PHP MySQL Apache. This tool installs MySql, Apache, and PHP with a single install and provides tons of ability to configure. I just used this to do testing of WordPress and ZenCart sites locally on my computer. Great for testing and prototyping. Eliminates the need to spend money on servers and is local, so no FTP'g files.
Reply With Quote
  #6 (permalink)  
Old 01-12-2008, 01:59 AM
datetopia's Avatar
WebProWorld Pro
 
Join Date: Dec 2006
Location: Datetopia Dating Software
Posts: 139
datetopia RepRank 0
Default Re: Is there a way to test a CMS on the live server?

You could use a second installation in a different folder like www.yourdomain.com/beta . Some cms systems will even allow using the same database for multiple installs, in case you want the design / code changes to show with your existing data.
Reply With Quote
  #7 (permalink)  
Old 01-12-2008, 09:15 AM
danners's Avatar
WebProWorld Member
 
Join Date: Nov 2005
Location: Bristol, UK
Posts: 28
danners RepRank 0
Default Re: Is there a way to test a CMS on the live server?

i believe ExpressionEngine - Publish Your Universe! CMS provides a publish date for your pages/changes and this is when they will go live.
__________________
Creative web design company with top-notch website designers in the UK.
Reply With Quote
  #8 (permalink)  
Old 01-13-2008, 04:52 PM
WebProWorld Member
 
Join Date: Jul 2007
Posts: 36
kurt.santo RepRank 0
Default Re: Is there a way to test a CMS on the live server?

Wige,
being interested in your approach: How would you accomplish this when your internet service provider does not provide you with a static ip address (or at least I do not think so - how could I test this)?

Kurt
Reply With Quote
  #9 (permalink)  
Old 01-13-2008, 09:33 PM
danlefree's Avatar
WebProWorld Pro
 
Join Date: Jun 2005
Location: Seattle
Posts: 269
danlefree RepRank 4danlefree RepRank 4danlefree RepRank 4danlefree RepRank 4danlefree RepRank 4
Default Re: Is there a way to test a CMS on the live server?

Quote:
Originally Posted by SEOHolicc View Post
I am new to CMS's and I was just wondering if there is an easy way to test site changes without having to work on a live site. I would really like to be able to make my changes in some sort of testing area on the site and then if everything is ok, the changes can then be transfered right over to the live files.
I would recommend that you take a look at datetopia's advice and create a second instance - but, for the sake of your sanity, you may want to set up this instance as a subdomain, rather than just tossing it under the root directory.

A subdomain will serve you better because:

1) It may serve its own robots.txt file (so you don't have to worry about the test site being spidered "on accident")

Robots.txt file contents:
Code:
User-agent: *
Disallow: /
2) It's much easier to update a test configuration when you just have to switch the "beta.yoursite.com" to "www.yoursite.com" in any pertinent config files and database entries.

3) You will be able to monitor the error logs for your test site independently of your main site. (Watching for - and correcting - errors is a key factor while developing)


Quote:
Originally Posted by SEOHolicc View Post
This is mainly so my clients can approve what I have done and just so if something breaks, nothing is wrong on the live site, no matter how short a period of time it may be.
If you need to ensure that the main site does not go down as a result of test site development, please do not share the same database between the prototype and the live site.

Populate a copy of the live site's database for use on the test site - no sense in bringing down the live site because a feature's database queries went wrong on the test site.

And, in that vein, you may just want to move the test site to a different hosting account - I, for one, prototype everything on my own server before porting code over to a production site.

Separate hosting for the prototype is the preferred solution to ensure the security and smooth operation of the live site while you are developing a replacement CMS.
__________________
Dan LeFree | Product Manager (Linux VPS Hosting) | Owner/Operator (Web development, marketing)
Reply With Quote
  #10 (permalink)  
Old 01-14-2008, 10:51 AM
wige's Avatar
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,651
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: Is there a way to test a CMS on the live server?

My solution would exist on your web server, most likely you are on a shared host, and the support people there should be able to assist you in setting up the subdomain. The code snippet I mentioned would be put in the .htaccess file in the root folder for that subdomain.
__________________
The best way to learn anything, is to question everything.
Reply With Quote
  #11 (permalink)  
Old 01-14-2008, 01:29 PM
WebProWorld New Member
 
Join Date: Mar 2007
Posts: 9
SEOHolicc RepRank 0
Default Re: Is there a way to test a CMS on the live server?

The WampServer sounds like a good idea. It probably would be better to test everything on my machine locally like a test server, and then upload the changes live. I might also look into creating a subdomain for testing.

Thanks everyone for all the great advice.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Webmaster Resources Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BREAKING NEWS WINDOWS LIVE Search Goes Live as BETA scanmonkey MSN Search Discussion Forum 0 03-08-2006 12:26 AM
Windows Live Local Beta Live Now WPW_Feedbot Search Engine Optimization Forum 0 12-08-2005 12:00 PM
Jagger 3 live on one server - Uk results? johnyfav Google Discussion Forum 1 11-09-2005 12:41 PM
On Microsoft Live, Live.com and Start.com Personalized Port WPW_Feedbot Search Engine Optimization Forum 0 11-01-2005 11:00 PM
Clustering Flash Communication Server for Live Webcasts WPW_Feedbot Graphics & Design Discussion Forum 0 02-23-2005 02:01 PM


All times are GMT -4. The time now is 11:14 PM.



Search Engine Optimization by vBSEO 3.3.0