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.

How to restart a particular website ??
#1
How to restart a particular website ??
Hello,

If i restart httpd then the all website that config in sentora get restarted, i need to restart a particular website from sentora using SSH.

please suggest me idea with SSH command
Reply
Thanks given by:
#2
RE: How to restart a particular website ??
You can't restart only a website in apache!

You can beside that do a reload:

/bin/systemctl reload httpd.service

This is smoother or even better a gracefull restart:

/bin/systemctl graceful httpd.service

So apache will avoid shutting down session/ users before serving content.

M B


M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#3
RE: How to restart a particular website ??
Okay, Thanks for your suggestion.

Why

services restart is not working, i have enter /bin/systemctl relstart
Reply
Thanks given by:
#4
RE: How to restart a particular website ??
in centos 7 service httpd restart works fine but been replaced with systemctl

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Split Website log files. spoonman 1 3 ,960 01-01-2022, 10:00 AM
Last Post: TGates
Uploaded Website Not Updating GiantEspresso 3 8 ,133 04-19-2020, 09:57 PM
Last Post: Ron-e
The website don't load naire 1 5 ,129 10-15-2019, 11:48 PM
Last Post: jamesmango

Forum Jump:


Users browsing this thread: 1 Guest(s)