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
#1
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 
Code:
^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,
White_Wolf
Reply
Thanks given by:
#2
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 - 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:
#3
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.

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


Possibly Related Threads…
Thread Author Replies Views Last Post
change username from email umarzuki@gmail.com 0 1 ,204 11-25-2022, 05:46 PM
Last Post: umarzuki@gmail.com
Database - Change localhost to %localhost% JSmith 1 4 ,432 09-11-2019, 09:19 AM
Last Post: TGates
Change default language diogorocha18 7 15 ,677 11-16-2018, 12:33 AM
Last Post: nibaldo

Forum Jump:


Users browsing this thread: 1 Guest(s)