Posts

Showing posts from March, 2020

3 WAYS TO START A LOCAL WEB SERVER IN LINUX

Image
When a web developer develops a website, he needs to see how it will work on the end-user side. But a question comes in mind- "What is the need of a web server if we can see the HTML files in the web browser?" The answer is- what if we need to test the dynamic content, so we need to setup a local web server. This can be accomplished very easily on Windows, macOS and Linux. But today we will see 3 ways to setup a local web server in Linux.  NOTE ::  Steps being used are almost similar to use on other operating systems. Do some research on your own also.  Following servers can also be opened on other machines in the same network. FIRST WAY- Using apache2  Apache is open-source web-server software that powers much of the web today. It is maintained by apache-http-project .  Steps to follow :: Step 1: Open Terminal Step 2: Check if it is installed or not (mostly, already installed). If not, use the following command-  apt instal