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

Nginx | Subdomains

Discussion in 'Plesk 11.x for Linux' started by devCUSoft, Jun 21, 2012.

  1. devCUSoft

    devCUSoft New Pleskian

    10
    35%
    Joined:
    Jun 21, 2012
    Messages:
    5
    Likes Received:
    0
    I upgraded to 11.09 cause I was pleasantly surprised to see the Nginx addition and wanted to give a twirl on 2 of my Plesk servers. All of my other servers are pure Nginx, rather then proxies with Apache, I prefer just Nginx as it is much faster and handles PHP better when properly configured .

    Anyway first thing I noticed is static files are not served on some of my sites as well as friendly URLs with say wordpress. Now this is standard configuring in Nginx and I am just starting to play with the custom nginx vhosts to get that all working, kinda fun for me actually to play with. So just wanted to let Plesk know that this is an issue. I understand the nginx default vhosts are probably bare bones so I am happy to add my own custom configurations and directives to my location and server blocks btu why does it have to be so difficult? Cant you guys add templates into the control panel itself? Anyway Ill be posting my work at my site devcu, hope to help some users who are going to take this path ion their server.

    My main question is none of my subdomains are working now. I did notice that the upgrade changes subdomains to have their own DNS but where and how can I check up and make sure it all gets configured properly? All my subdomains, no matter the main domain point to the servers host name domain. The DNS records are there as well as all the subdomain includes. I checked them and everything is still as it was basically but for none of them working. Any ideas here?

    Thanks
     
  2. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    I am pretty sure the current nginx version on plesk is a test and for preview purposes. However after they do there analysis to see how it reacts with certain parts of the server, like sub-domains++ then they will realize a version that actually puts nginx to a purpose as opposed to now where its just good for nothing with a default installation.
     
  3. devCUSoft

    devCUSoft New Pleskian

    10
    35%
    Joined:
    Jun 21, 2012
    Messages:
    5
    Likes Received:
    0
    I understand that but even with the Nginx component disabled my subdomains are all dead after the upgrade to 11.09.
    I plan on backing up my data and recreating them to see if that fixes the issue but I shouldnt have to.
    Plesk needs to make better upgrade scripts and modules. This is certainly not the first and only problem reported by a Plesk upgrade.
     
  4. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    Have you already run:

    /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

    That will help rebuild the vhosts of all your domain names and subdomain names.
     
Loading...