Creating Your Own Webserver and Hosting A Website from Your Linux Box

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

82 Responses

  1. Melaku says:

    Assuming 100 concurrent web users at a time visiting my server, is it possible to handle if my web-server is a desktop with 2Gb ram and 4Gb GPU attached??

  2. moeez says:

    Hi, I already made a web server on my Kali Linux and also do a port forwarding on virtual server tab but my web page only access from the device which are connected with my home wifi or the same network on which server is connected but i want it to be access from world wide what can i do for that please help me thanks.

    • Ravi Saive says:


      Please have a public IP address setup on the server to make a web sever page accessible from outside world.

      • moeez says:

        I got my public IP by searching on Google “what is my ip” but with that ip my webserver is not accessible from outside world if we try to access from outside world then it give error that web page at http://my public ip could not be loaded because “net::err_connection_timed_out. this error happen when i try to access my webserver from outside local internet from mobile what should i do now or from where i can get the public ip address

        • Ravi Saive says:


          You need to buy the Public IP address for your web server or else take hosting from cheap hosting provider they will provide you free IP address for your web server…

      • moeez says:

        and how can i have public ip address setup please guide me i really need help

  3. Mackenzie says:

    Great Article, Really Helpful…

  4. Oliver Russell says:

    Instead of manually installing webserver and stack manually, isn’t it better to host PHP site with platform like Cloudways, where the these packages are installed and configured automatically? This will save a lot of time, which you can instead spend on building your app.

  5. roz says:

    so useful for me thanks …

  6. Aditya Shakya says:

    Great Work… Thanks for this, Helped me a lot …

  7. Ridho says:

    Thanks for the information, great article and tutorial

  8. Bruce says:

    Hi mate, thanks for the great article, I followed your step of installing Drupal and after copying the extracted Drupal contents to /var/www, I wasn’t greeted with the page as you showed in the screenshot.

    It’s the same Apache greeting page. So I tried to move those contents again into var/www/html directory again and still getting greeted with the same Apache default page. Could you tell me if I’m doing anything wrong? Thanks

    • Ravi Saive says:


      Delete the default apache index.html page and try again, I sure you will get drupal setup page as in this guide..

  9. Charles says:

    Um Yes! Great article! Would love further guides from you!

  10. Mozgear says:

    Planning to build my own web server too but i have problem. How do you connect your domain name to your webhost? Specifically how will i associate my webhost to a nameserver which later i can use those NS to my domain to.

Leave a Reply to Ravi Saive Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.