but I didn't run any change from admin panel, why it rewrites after some period?
so there's any solution to prevent this auto rewrite task?
I also added A record in DNS, but I still need this config (ServerAlias *) in httpd-vhosts.conf file, there's any solution?
Or I have this question: vhost file may still work normally if there are 2 duplicating settings for 1 site? Like settings below
so there's any solution to prevent this auto rewrite task?
I also added A record in DNS, but I still need this config (ServerAlias *) in httpd-vhosts.conf file, there's any solution?
Or I have this question: vhost file may still work normally if there are 2 duplicating settings for 1 site? Like settings below
Code:
<virtualhost *:80>
ServerName mymaindomain.com
ServerAlias www.mymaindomain.com
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mymaindomain_com"
</virtualhost>
<virtualhost *:80>
ServerName www.mymaindomain.com
ServerAlias *
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/mymaindomain_com"
</virtualhost>