Hi. My site currently runs on a temporarily domain before we flick over the DNS, so it's currently accessible through: 111.111.111.111/~dummy/stage

Eventually the site is going to be hosted on two domains. stage.mydomain.com and live.mydomain.com. the live.mydomain.com will sit behind mydomain.com, so going to mydomain.com will eventually serve everything behind live.mydomain.com.

Now the problem. I need to write a settings.php file for 111.111.111.111/~dummy/stage and 111.111.111.111/~dummy/live for during development but I'm not sure how to go about this. The help in the settings.php doesn't compensate for this situation.

Any help is very much appreciated!

Thanks,
Luke