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

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

Avishek Kumar

I am a major in computer science, love to research nix. I love to write codes and scripts, review distros, experiment Foss Technologies, write technical articles, Hack, of course Ethically. I am working as System Administrator (nix) for a NGO.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

49 Responses

  1. Scott says:

    This guide was so helpful! I went the wordpress route instead, and everything works! Thank you so much!!

  2. nj says:

    Hello superb explanation. I thank you and I find you have saved me a lot of time. Now my problem: I placed the drubal in /var/www and it does not load on my browser so I have to place it in /var/www/html for it to load. Is this a problem? Now it seems to complicate the installation somewhat. Thank you!

    • Ravi Saive says:

      It’s depend on which Linux OS version you using, in CentOS Apache default path is /var/www/html and in Ubuntu its /var/www.

  3. segovia says:

    Why did you say that I shall never give IP address to someone you don’t know? How can other people visit my site then? I am confused.

  4. Bert says:

    How do I create the php file in my apache directory?

    • Ravi Saive says:

      Simply using vi or nano editor to create a file with .php extension. For example, index.php would be your new php file.

Leave a Reply

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

Join Over 95000+ Linux Users
  1. 57,739
  2. 3,201
  3. 25,639

Enter your email to get latest Linux Howto's