• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Apache + NGINX + Other VHost (not from Plesk)

UweP

Regular Pleskian
Hi. I also got this problem. Since I'm using NGINX, my other vhosts dont work anymore. they jsut get forwarded to a plesk default page. What I want is create a vhost (a2ensite vhost.conf) and have this vhost be prefered over plesk. How do I set this up to work with nginx?

Thank you, Uwe
 
Hi UweP,

your description for your error/issue/problem is very imprecise and the fact that you added:
... and have this vhost be prefered over plesk ...
makes it even worse to understand your desire.

It would help, if you provide MORE informations and you could add as well the "vhost.conf" so that people willing to help you don't have to guess, but could point you directly to possible misconfigurations. ;)
 
Hi ok. I mean the vhosts i add to /etc/apache2/sites-available/ and then enable with a2ensite vhost.conf. i added such a vhost but what i get at the address vhost.mydomain.tld is a plesk page. i want to have shown the page where i point the vhost to, in my sites-available vhost.

ive added eg.:

<VirtualHost myip:80>
ServerName cloud.mydomain.eu
DocumentRoot /var/www/owncloud
Redirect permanent / https://cloud.mydomain.eu/

<Directory /var/www/owncloud/>
Require all granted
</Directory>

</VirtualHost>

<VirtualHost myip:443>
ServerName cloud.mydomain.eu
DocumentRoot /var/www/owncloud/
Header always add Strict-Transport-Security "max-age=15768000"

<Directory /var/www/owncloud/>
Require all granted
</Directory>

</VirtualHost>

into an apache vhost config file. ive enabled this vhost. but what i get is a plesk standard page, that the site is not set up or something. I guess i need to also configure nginx. but do i have to do that for every vhost i add with apache and what do i ahve to add to nginx config and where?

Thank you very much!

Greetings, Uwe
 
Hi UweP,

whats wrong with moving the content from "/var/www/owncloud" to "/var/www/vhosts/YOUR-DOMAIN.COM/cloud.YOUR-DOMAIN.COM", after you created the subdomain over Plesk?
( The installation - process for "owncloud", in combination with apache+nginx+php-fpm is pretty self-explaining, or can be viewed at the "owncloud" - docs at: => https://doc.owncloud.org/server/9.0/admin_manual/installation/
 
i dont want to have it backed up using plesk. i also need it for another vhost, multicraft.mydomain.tld
 
Back
Top