TurnKey Linux Virtual Appliance Library

difficulties creating development clone or copy

I'm trying to use EC2 to develop Joomla website. I want to use one server under a tkl subdomain so that others can play with a copy of the site for training while I mess with another copy for testing components, modules & plugins.

After I make a copy of an instance, and, change it's configuration.php. When I go to the new ip address for the development site any changes I make are reflected on the tkl subdomain site? I even have seperate EBS disks with each instance.

What am I doing wrong?

Let me rephrase this "How to create development clone instance?"

Ok rather than me ask what I'm doing wrong, like you a have a crystal ball or something, how about "How do I use Turnkey and EC2 to have a development instance that is a clone of my tkl sub-domain instance that will not affect my sub-domain instance when I make changes to the development instance?"

I figured it out. Subdomain became associated with new instance

I tried cloning a server in TKL and had these problems so I created an AMI with an attached EBS volume that is not destroyed each time it is stopped or terminated. Then I created a clone of that. Turns out that the new instance picked up the TKL subdomain even though hub is not aware of the new instance.

I'd still like to have this working through TKL rather than cloning through EC2 directly so if anyone can give me any tips on doing so I'd much appreciate the information.

Still not working for me in a cloned development server

Anytime I create a clone of a server the sub-domain for tklapp.com moves over to the new server? Damn, this stuff can be frustrating.

Sub-domain re-associates itself with diffent instance in time

When I create a clone of an instance the innisfree.tklapp.com sub-domain becomes associated with the new instance IP. When I re-associate the name with the original instance it reverts itself back after a period.

2 Questions about tklapp.com sub domains

  1. How do I make the tklapp.com subdomain sticky to one instance?
  2. Can I create another tklapp.com sub domain to point at my development server?
Jeremy's picture

I suspect that this is due to the HubDNS config

I suspect the HubDNS config is also being copied across. Have a look at the HubDNS docs (namely usage and 'hubdns-release').

Thank you I'll look into hubdns again

For now I just moved on and used a couple of "A" records with my dyndns account. Thank you though, that is something I will need to deactivate or better yet remove as it will not be needed.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)