MODULE 3:- Basics of Kali Linux
- Install Kali Linux on Hard drive with Full disk Encryption
- How to create Kali Linux bootable USB live in windows 10
- 20 basics about how to use Kali Linux
- 6 steps to change Kali Linux IP address (Easy)
- How to Add Kali Linux repository – With pictures
- How to update and upgrade Kali Linux to 2017.1
- apt-get package handling utility in Kali Linux
- How to use Linux debian package manager “dpkg”
- How to use Kali Linux SSH Server and client
- Start Restart Apache2 Web Server In Kali Linux
Hey, there Vijay kumar, Welcome on my Blog. This article has attached video, in article I am going to cover start restart apache2 web service and stop in Kali Linux. Similar methods are used in other Linux flavor.
Originally this post is written in jun 11, 2014 and last updated November 27 2015. This article is not related cheap webserber, web hosting, business web hosting, cloud hosting or any type of dedicated hosting service. This article define only local webserver on Kali Linux for local Penetration testing.
What are Web Servers?
Web Servers is a type of servers, that delivers web pages to the clients as per their request. Every Websever has an IP Address and domain name for identification. Server Administrator can make local webserver setup. Client access the web pages through Web browser like Google chrome, Firefox, safari etc. You need to enter URL or IP address into the address bar of web browser and page will be delivered by Web server scripting. If you enter http://cyberpratibha.com in Address bar it will be serves by Web Server.
How to Setup Apache2 Web server in Kali Linux
In Kali Linux you don’t need to setup web server because Kali Linux has pre installed apache2 webserver. Hacker use this web server to deliver web page contain malicious code to the victim by the help of local web server or by doing port forwarding . We can trap to them by using social engineering method for example Phishing. There are other uses the HTTP service in penetration testing. it manage dedicated web server capacity to deliver pages, and have web server load balancing.
OLD Method to start Restart Apache2 web service
Use GUIs to Start Restart Apache2 web Server in Linux
It is the easiest way to start, stop and restart the Apache2 service in GUI mode. Select Applications from the top bar of the Kali screen, next sub-menu bar will be displayed, Select Kali Linux menu, another fly-out display bar will appear, then go on the services menu, again next fly-out menu bar will display, In this bar web service can be start, stop and restart.
Once a selection happened, a command shell will open and the status of service will be displayed. When the Apache server has been started, the default page will be display by typing Attacker’s ip address in the web browser. IceWeasle is default web browser in Kali Linux distribution.
Note: GUI to start, stop, restart apache2 is not support in Kali Linux 2016.2 version.
NEW Method to start / Restart Apache2
Using Command line interface to start stop and restart the Apache2 Services
It is easy to start, stop and restart Web Server using the simple command in the terminal /etc/init.d/apache2 followed by requested action (stop, start or restart). Following commands are used
Another way to start, stop of restart Apache2 service by following commands
#service apache2 start
#service apache2 stop
#service apache2 restart
The Default Web Page
Once the Apache service is up and running the default (It works!) page may need to be changed, to do this make the web content that ought to be showed on the page and spare it as index.html in the /var/www/ index. Then again, the current index.html document at this area could be modified what’s more new pages might be included.
start, restart apache2 service in kali linux
Posted by Q Hacker on 21 एप्रिल 2017
Latest posts by Vijay Kumar (see all)
- How to become Kali Linux Hacker - September 17, 2017
- 5 Inexpensive & Reliable WordPress Hosting Services For Your Blog - September 14, 2017
- Best SEO plugins for wordpress website to grow your business - September 13, 2017