Results 1 to 8 of 8

Thread: Test Bed

  1. #1
    Join Date
    Apr 2008
    Location
    Tyler, Texas
    Posts
    49

    Default Test Bed

    I'd like to make a test version of my site. That way I can break something without killing the real site.

    Can I do a complete reinstall of my current site in a sub-domain?
    Should I use the same database or for added safety, would it be better to have a separate database?

    I'd want to deny all robots. Any other things I should consider? I have other domains I can use. Would it be better to use a separate domain versus a sub-domain?

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    You can use any address you want, domain or subdomain it really doesn't matter.

    If you really want to lock people out then password protect the directory with .htaccess.

    It would be better to have a seperate database.

  3. #3
    Join Date
    Apr 2008
    Location
    Tyler, Texas
    Posts
    49

    Default

    Thanks, it works.

  4. #4
    Join Date
    Apr 2008
    Location
    Tyler, Texas
    Posts
    49

    Default

    After some time to work with the test site, it seems the two sites are interacting. I used a different domain and separate database for the test site.

    As an example of the interaction, I made some changes on the live site (banner ads) and the changes also appeared on the test site.

    Could I have done something wrong?

  5. #5
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Yes you did somewhere.

    Are you using an include for the ads? If so the include URL is probably the same for both sites.

  6. #6
    Join Date
    Apr 2008
    Location
    Tyler, Texas
    Posts
    49

    Default

    I'm not sure what you mean about "using an include". The ads are Google Adsense and are pasted into the page.

    I used a clean 5.4.1 install. Then I copied the existing template from the live site.

  7. #7
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    A Google ad does change, every time you refresh the page. Ads for a domain (and keywords) stay within a set of ads, but they do change on their own.

  8. #8
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by wslade View Post
    I used a clean 5.4.1 install. Then I copied the existing template from the live site.
    If you added the Google Ads to the live site first, then copied the template files from the live site to your test bed, that is why your also seeing the Google Ads on your test bed site.

    The HTML code for Adsense is in the templates files, not the DB
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

Similar Threads

  1. Server test script
    By Bruceper in forum INDEXU DELUXE v1.x
    Replies: 0
    Last Post: 05-14-2008, 09:12 AM
  2. Chinese Character test
    By tansongbai in forum Website development, hosting and promotion
    Replies: 0
    Last Post: 06-16-2007, 08:02 PM
  3. Replies: 10
    Last Post: 05-11-2006, 02:04 PM
  4. License on a Test Environment
    By Wow14 in forum v5.x
    Replies: 1
    Last Post: 03-23-2006, 06:57 AM
  5. Running a test on a PC
    By earltim1 in forum Pre-Sales Questions
    Replies: 2
    Last Post: 05-08-2004, 10:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •