• 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.

ServerAlias :confused:

K

kklemenss

Guest
I know that this problem has been writen, i searched the forum readed everything but still i have that problem.
i have subdomain test.mydomain.com
and www.testdomain.com is pointed to my IP. In httpd.include i have like ServerAlias www.testdomain.com
And it works just fine, but when i restart apache or add new domain.. it erase that ServerAlias. I`ve readed in forum that i must create vhost.conf... i created it and puted in that file ServerAlias www.testdomain.com like i have read in faq

but still doesnt work.. can somebody help me about this problem? :confused:

thanks for your answers!
Best regards,
Klemen
 
Did you run

/usr/local/psa/admin/bin/websrvmng --reconfigure-all

after creation of the vhost.conf?
 
yes but when i do that i get in my domains the default plesk page... its not working at all
 
ok, I think its time to show your configuration files.

can you please post the content and path of the files httpd.include and vhost.conf for the domain in question?
 
First of all:

Please remove the port from the ServerAlias directive. ServerAlias should read like

ServerAlias *.smartno-litija.si smartno-litija.si


With this change - and after a restart of Apache of course - www.smartno-litija.si should display the content of www.trioserve.com. (If the vhost.conf is placed in /var/www/vhosts/trioserve.com/conf/ )
 
If you want to have being an alias for http://smartno.trioserve.com/ - which is a subdomain - you need to place the vhost.conf file in the appropriate directory, which is in this case /var/www/vhosts/trioserve.com/subdomains/smartno/conf/

(Its explained in the header comments in httpd.include where to place vhost.conf files)
 
Don't forget to run

/usr/local/psa/admin/bin/websrvmng --reconfigure-all

after placing a new vhost.conf file anywhere on the server.
 
uf thanks coko!!

i didnt read carefully the header..
it works now!!
10x!
 
Back
Top