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.

Make a change in httpd-vhost.conf
[Not Solved] Make a change in httpd-vhost.conf
Hi, I am probably posting a stupid question, but I am curious how to make a change stick in httpd-vhosts.conf

I have enabled ssl on multiple domains and it all works except sentora changing the vhost config to make apache think that somthing else took over port 443 for ssl, I found the fix my removing the "Listen 443" but it keeps re-adding it to the config as it does one of its daemons. When it re-adds the Listen 443 line this is what I get 
^Cwhitewolf@panel:/etc/sentora/configs/apache$ sudo service apache2 restart
* Restarting web server apache2                                                                                                                                                 (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:443

It is somewhat annoying to have httpd go down for routine daemon runs and have to ssh in and fix this so a long term fix would be great! Sorry if this is confusing and please ask for more detail in response if needed!
Thanks given by:
[Not Solved] RE: Make a change in httpd-vhost.conf
What guide did you use to add SSL?

To get it back to normal, make the changes you need to to get apache to start. Login in as zadmin and navugate to Admin > Module Admin > Apache Config and remove any port forwards or SSL configurations you may have entered for Sentora and individual websites.

The daemon will then write a new httpd-vhosts.conf file which should work.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Thanks given by:
[Not Solved] RE: Make a change in httpd-vhost.conf
OK you won't be able to do that in httpd-vhosts.conf BUT you can do a smart move for custom entries.

Go in main apache conf file and after the include for http-vhosts.conf add another include http-vhosts-custom.conf that you place in same sentora conf directory and you will be able to add any custom entries you wich there.

No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS

Thanks given by:

Possibly Related Threads...
Thread Author Replies Views Last Post
Database - Change localhost to %localhost% JSmith 1 1 614 09-11-2019, 09:19 AM
Last Post: TGates
Change default language diogorocha18 7 7 972 11-16-2018, 12:33 AM
Last Post: nibaldo
confused to make an decision please help nscloud 4 3 350 09-14-2018, 09:52 AM
Last Post: wormsunited

Forum Jump:

Users browsing this thread: 1 Guest(s)