M
Mr.Yes
Guest
Hi,
i need to add this line to "httpd.include" file on one domain:
ServerAlias *.mydomain.com
BUT i know this file will be overwritten by plesk so i created a "vhosts.conf" file where i have only:
<VirtualHost 77.32.43.55:80>
ServerAlias *.mydomain.com
</VirtualHost>
THEN go 2 terminal to say:
/usr/local/psa/admin/bin/websrvmng -u --vhost-name=mydomain.com
THEN i try to restart Apache
BUT Apache do not restart and i had to delete vhost.conf file to have it UP again.
Can you help me to write correctly my vhost.conf file?
Thanx
i need to add this line to "httpd.include" file on one domain:
ServerAlias *.mydomain.com
BUT i know this file will be overwritten by plesk so i created a "vhosts.conf" file where i have only:
<VirtualHost 77.32.43.55:80>
ServerAlias *.mydomain.com
</VirtualHost>
THEN go 2 terminal to say:
/usr/local/psa/admin/bin/websrvmng -u --vhost-name=mydomain.com
THEN i try to restart Apache
BUT Apache do not restart and i had to delete vhost.conf file to have it UP again.
Can you help me to write correctly my vhost.conf file?
Thanx