• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved How to customize vhost.conf on plesk 12.50

tuxinside

New Pleskian
Hello, i should edit my vhost.conf for one domain on my vps. I use plesk 12.50 on centos 7.

I should add directive:

ServerAlias "*.foo.bar"

to permit wordpress to manage multisite.

I have followed many guides, but i'm not be able to edit configuration.

I have tried to edit /var/www/vhosts/foo.bar/conf/vhost.conf , but file not exist. I have created this one and i have added directive. After that i have launched:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
service httpd restart

But Plesk ignore this file.

I have even tried to add directive on Plesk > Subscription > domain.tld > Apache & Nginx Settings (http and https), but plesk still ignoring me.

How to solve? Can you help me, please?
 
Hello everyone and thank you IgorG!

I have solved my problem. In Apache & Nginx Settings (http and https) i have added again

ServerAlias *.domain.com

After that i have reboot my vps by Plesk. Now configuration works fine!

Thank you anyway for your support!
 
Back
Top