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 ???
#2
RE: vHost file auto changed after a period ???
This is not an issue, this is by design. The httpd-vhosts.conf file is controlled by Sentora.
You need to enter the domains in the Domain Manager module. And, if using Sentora's DNS you need to create each domain's DNS entries using the DNS Manager module.

I am not sure why anybody would use the system in the manner you are suggesting Huh

But, to solve your question:

You could use the virtual host override feature to do what you are trying.
Module Admin > Apache Config > Override a virtual host > [select domain] > Custom Entry:

Or:
Module Admin > Apache Config > Global Sentora Entry:
Code:
</virtualhost>
<virtualhost *:80>
ServerName mydomain.com
ServerAlias  *

Pay attention to how the above is written! </virtualhost> closes the previous vhost entry and Sentora will add the closing </virtualhost> at the end automatically.

Check 'Force Update' and Save. Wait ~5 minutes for changes to take affect.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: 7rdoq


Messages In This Thread
RE: vHost file auto changed after a period ??? - by TGates - 08-30-2016, 10:42 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: 4 Guest(s)