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

Secondary domains on shared IP not working after migrating 10 > 11

Discussion in 'Plesk 11.x for Linux' started by FredC, Jan 25, 2013.

  1. FredC

    FredC Basic Pleskian

    17
     
    Joined:
    Dec 9, 2010
    Messages:
    25
    Likes Received:
    0
    Hello,

    I migrate my server, and at the same time from Plesk 10 to 11, using the migration tool.
    It has work quiet good and my default website is working on the new server.
    The problem is that i have a shared IP, and other website doesn't work at all.
    I think i missed to configure something on plesk, but don't know what.

    Thanks for help, please, and sorry for my poor english (I'm french).
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Could you please describe with more details what do you mean exactly "other website doesn't work at all"?
    Have you tried to reconfigure vhost with httpdmng utility?
     
  3. FredC

    FredC Basic Pleskian

    17
     
    Joined:
    Dec 9, 2010
    Messages:
    25
    Likes Received:
    0
    Thanks for helping, IgorG.

    I have many website on my new server, after migrating for old server with Plesk 10.
    Everything seems to be good :
    - files
    - database

    So now, i speak only for the new server.

    Using IP on my navigator, i go to my default wesite.
    Same using www.mydomain.com

    If i try to access another domain www.mydomain2.com, i fall either on a white page, or error 500.
    All other domains seems to be activated, but sure i miised something.

    No, didn't know that exist ;-).
    I'll have a look.
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Any related error logs? Have you seen KB articles about error 500? Hub, for example - http://kb.parallels.com/114882
     
  5. DaveKay

    DaveKay Regular Pleskian

    17
    85%
    Joined:
    Jan 2, 2012
    Messages:
    226
    Likes Received:
    0
    To reconfigure vhosts, run the following from a shell prompt:

    /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
     
  6. FredC

    FredC Basic Pleskian

    17
     
    Joined:
    Dec 9, 2010
    Messages:
    25
    Likes Received:
    0
    I'm trying...
     
    Last edited: Jan 25, 2013
  7. FredC

    FredC Basic Pleskian

    17
     
    Joined:
    Dec 9, 2010
    Messages:
    25
    Likes Received:
    0
    I did it, but nothing better :(-.
     
  8. FredC

    FredC Basic Pleskian

    17
     
    Joined:
    Dec 9, 2010
    Messages:
    25
    Likes Received:
    0
    Sorry, but someone have an idea about this, please ?
     
  9. DaveKay

    DaveKay Regular Pleskian

    17
    85%
    Joined:
    Jan 2, 2012
    Messages:
    226
    Likes Received:
    0
    When you say you have a shared IP, is your "default" website on its own dedicated IP, or are all the sites setup to be served on the one shared IP Address?

    When you say the other websites don't work at all, what errors do you get? You can check the subscription error logs:

    Subscription > Websites & Domains > Advanced Options > Logs

    Also, do you have nginx running?
     
    Last edited: Jan 26, 2013
  10. FredC

    FredC Basic Pleskian

    17
     
    Joined:
    Dec 9, 2010
    Messages:
    25
    Likes Received:
    0
    I have only one IP on the server, wich is shared for many domains.

    Only one works good after migration from Old server Plesk 10 to New server Plesk 11.

    Seems that other domains don't work more if i set them as default domain.

    I'll have a look for errors.
     
  11. DaveKay

    DaveKay Regular Pleskian

    17
    85%
    Joined:
    Jan 2, 2012
    Messages:
    226
    Likes Received:
    0
    Ok, if you're receiving 500 errors when trying to view other sites, these errors should be logged in the subscriptions error logs.

    Also, if you've got nginx running, try disabling it and then reconfigure the vhosts. Unless your server is handling heavy traffic, I've found running nginx can be more trouble than it's worth
     
  12. FredC

    FredC Basic Pleskian

    17
     
    Joined:
    Dec 9, 2010
    Messages:
    25
    Likes Received:
    0
    Sorry i didn't tell more about.
    I have worked on this on the past week (but not for 2 month) and founded that was about Joomla's version which seemed not to be compatible with the new version of php.
    I uddated it to 1.7, and retrieved all my website, working quiet good.

    Thanks to everybody for you'r help.
     
Loading...