PDA

View Full Version : Co-Domain: Deleting and Re-assigning


Raffnix
22nd February 2006, 10:59
I have deleted a codomain

"name.mydomain.tld" of

Client A/Web A (old.mydomain.tld)

and tried to assign this codomain now to a another Client/Web:

Client B/Web B (new.mydomain.tld)

I deleted the codomain from Web A and also from Trash but when I try to reassign it to Web B, I get the message that this domain is already assigned to another customer!? (I waited at least 30 minutes, so its obviously no update problem) :confused:

till
22nd February 2006, 11:03
Please have a look in all the tras folders. I'am shure the co-domain is still there in one of the trash folders.

Raffnix
22nd February 2006, 11:40
No, as far as I can see, all Trash-Folders are emty:

Administration, Customers, DNS, Billing.

Then I logged in as Client A and his folder too is empty.

The ISPconfig log showed nothing unexpected:

22.02.2006 - 11:20:52 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1191: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
22.02.2006 - 11:20:53 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2341: httpd -t &> /dev/null
22.02.2006 - 11:20:53 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2343: httpd syntax ok
22.02.2006 - 11:20:53 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/apache2 reload &> /dev/null
22.02.2006 - 11:20:53 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1825: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
22.02.2006 - 11:21:25 => INFO - Signalfile Set: empty trash

...

22.02.2006 - 11:26:39 => DEBUG - Die Domain ist bereits einem anderen Kunden zugeordnet.<br><br><br> <a href='../../isp_manager/frame_start.php?'>Weiter &gt;&gt;</a>




and a manual restart of Apache didn't help either



Edit: I assigned the codomain back to Client A (no problem), then logged in as Client A, deleted the co domain from there but the message remains the same.

falko
22nd February 2006, 18:33
Can you find this domain somewhere else when you use the search function?

Raffnix
23rd February 2006, 18:02
No, I didn't find it, but I finally made it.

But I it was pure luck. And I don't know exactly what happend. Anyway, here a description what I did, if anyone else gets the same problem:

The Site-Distribution was:

Client A: www.mydomain.tld and mydomain.tld
Client B: old.mydomain.tld and co.mydomain.tld
Client C: new.mydomain.tld

To change co.mydomain.tld from Client B to Client C, I deleted mydomain.tld from Client A. Then I reassigned co.mydomain.tld to Client C and then reassigned mydomain.tld to Client A (thats it, more or less)

The Site-Distribution is:

Client A: www.mydomain.tld and mydomain.tld
Client B: old.mydomain.tld
Client C: new.mydomain.tld and co.mydomain.tld

TexasTaz
3rd March 2007, 13:43
Hello,

I m not sure about how ISPConfig stores it's domains yet but where I work we have three places where the domain has to be removed from in order to re-assign or delete and re-create 1- /var/named/domain.tld then we also have to remove it from the /etc/userdomains and then from the /etc/trueuserdomains

And then we are free to re-assign or delete or what have you. I hope this helps you as I will be checking this out myself.

See yaz,

till
3rd March 2007, 13:46
If it is a co-domain, you will ahve to delete the domain, then empty the recycle bin and create the domain in the website of a new customer. If you want to reassign a complete website, use the move website tool that you find under tools in ISPConfig.

You dont have to edit or modify anything on the shell or any config files!

TexasTaz
3rd March 2007, 13:56
Thanks till,

I was trying to hep with where to go and what to look for.

Much appreciated....