This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

vHost file auto changed after a period ???
#17
RE: vHost file auto changed after a period ???
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


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>
Reply
Thanks given by:


Messages In This Thread
RE: vHost file auto changed after a period ??? - by 7rdoq - 10-08-2016, 01:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
How to set up File Manger for Sentora? donaldaugust 1 3 ,320 01-11-2022, 05:01 AM
Last Post: Nigel
Site Not Updating changes made in The HTML file me7leelee 4 8 ,240 05-20-2020, 06:29 PM
Last Post: 5050
How to give the cliens file manager access to their respective domain directory vsvinit0 4 9 ,263 10-09-2019, 10:05 PM
Last Post: vsvinit0

Forum Jump:


Users browsing this thread: 2 Guest(s)