[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] replacing /home/sites/home with /home/sites/site1
- Subject: [cobalt-users] replacing /home/sites/home with /home/sites/site1
- From: Paul Ferwerda <paul@xxxxxxxxxxxx>
- Date: Fri Mar 15 06:21:16 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I've got a RAQ3 that was set up with ip a.a.a.a and hostname www.aaaaaa.com. Later on a second virtual site was set up at ip a.a.a.a with hostname www.bbbbbb.com.
As time went on, site www.aaaaaa.com was moved to another machine along with the a.a.a.a ip address and a new ip address was obtained for www.bbbbbb.com and that was set as the ip address of the primary site.
So now, I've got a situation where on the box I have:
www.aaaaaa.com as the primary site (although there is nothing at all in its web directory)
and
www.bbbbbb.com as a secondary site (although its web directory is what is used to serve pages).
A hostname on the box shows aaaaaa even though aaaaaa is no longer there. So in effect this box has a hostname of aaaaaa as well as the box that the www.aaaaaa.com site moved to.
I'd like to clean the mess up but can't just wipe the machine because there are other virtual sites on it.
Is there a way to take /home/sites/site1 and "promote" it to /home/sites/home? The Cobatl GUI doesn't allow you to delete the primary site.
I tried once copying everything from site1 to home and doing a hostname to change things but things got into a weird state and I don't know whether it was due to file ownership issues, etc. I basically need a way to copy the stuff from site1 to home, change the hostname and then run something that will make the Cobalt GUI and the various admin software happy and congnizant of the change.
Have any of you every tried something like this...successfully? :)
Thanks!