LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2007, 09:42 AM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Rep: Reputation: 34
Question restart http server


Hello all,

Quick question, how do I restart the HTTP server?

Thanks.
 
Old 10-28-2007, 09:53 AM   #2
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Rep: Reputation: 30
Code:
/etc/init.d/service start|stop|restart
where service is the service whose status you would like to alter.
 
Old 10-28-2007, 10:03 AM   #3
E71
LQ Newbie
 
Registered: Oct 2007
Distribution: CentOS 6.10 64bit
Posts: 22

Rep: Reputation: 0
Quote:
Originally Posted by swamprat View Post
Hello all,

Quick question, how do I restart the HTTP server?

Thanks.
Try:
service httpd restart
 
Old 10-28-2007, 10:54 AM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I think the service command is a Redhat distro family command. This includes Redhat, Fedora, Centos, Scienitific Linux, and others.

Brian

Last edited by Brian1; 10-28-2007 at 10:55 AM.
 
Old 10-28-2007, 11:17 AM   #5
Jim44
Member
 
Registered: Feb 2006
Location: Atlanta, Georgia, USA
Distribution: Mint, Ubuntu, Centos
Posts: 57

Rep: Reputation: 15
And if it's a debian flavor you can try:

/etc/init.d/apache restart
or
/etc/init.d/apache2 restart
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
monodoc-http gives a http 500 internal server error ernesto_cgf Linux - Software 0 05-10-2007 03:48 PM
HTTP Server Plugin for WebSphere Server 6.0 arcane_dark Linux - Software 1 12-16-2005 12:32 PM
HTTP Server Plugin for WebSphere Server 6.0 arcane_dark Linux - Software 0 12-16-2005 03:23 AM
Linux email server and some HTTP server questions Steven6282 Linux - General 7 02-19-2003 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration