1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Upgrading subdomains when installing Microupdates => Error

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by King555, Jan 13, 2012.

  1. King555

    King555 Regular Pleskian

    22
    90%
    Joined:
    Jan 5, 2011
    Messages:
    177
    Likes Received:
    3
    Location:
    Germany
    Whenever I install a new Microupdate, I get a lot of error messages like the one in the attached image.

    One part of the error message is German, it says "A domain with the name www.subdomain.domain.tld already exists."

    I have to say, that I created an additional subdomain with www-prefix (for example subdomain.domain.tld => www.subdomain.domain.tld) for every subdomain on the server and placed a htaccess-file in the httpdocs-folder, which redirects to the subdomain without www.

    I created these with Plesk 9.x, now I use Plesk 10.4.4 MU12.

    What can I do?
     

    Attached Files:

  2. King555

    King555 Regular Pleskian

    22
    90%
    Joined:
    Jan 5, 2011
    Messages:
    177
    Likes Received:
    3
    Location:
    Germany
    Has anyone a solution for this?

    EDIT: I think the problem is another one.

    I cannot see my subdomains without "www" anymore! I only see the www-subdomains now. But the original subdomains still work.

    When I want to edit the www-subdomain (remove www), Plesk tells me the subdomain already exists (of course it does, but it is invisible).

    What can I do? It seems that the upgrade to version 10 produced some chaos.
     
    Last edited: Feb 19, 2012
  3. King555

    King555 Regular Pleskian

    22
    90%
    Joined:
    Jan 5, 2011
    Messages:
    177
    Likes Received:
    3
    Location:
    Germany
    Me again, sorry for pushing the thread, but my question/problem has changed.

    Now I removed the www.subdomain from one of my domains via Plesk and deleted the complete directories (the subdomain and the www.subdomain) via SSH.

    Then I wanted to create the subdomain again. But Plesk tells me, that subdomain already exists. There is an entry in the psa database (table "subdomains"). But I don't think that deleting this entry will help, because there has to be another setting for the apache server.

    If I open subdomain.mydomain.tld in my browser there comes a "forbidden" message (because there is no content now), but if I open anything.mydomain.tld I am redirected to my main domain. So the subdomain is still active deep in the apache configuration.

    How can I safely fix this problem? I don't want to mix up my whole configuration.

    Thanks for any answers!

    EDIT: Now I found a solution!

    I deleted the entry in the Plesk database ("psa", table "subdomains") and then I saved the domain settings again. Then the subdomain was deleted in the Apache configuration and now I can recreate the subdomain.
     
    Last edited: Feb 25, 2012
Loading...