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

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. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  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.

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...

59 Responses

  1. Sourabh Thakur says:

    good sir and thanks

  2. MMS says:

    it open website by ip address or something like local host ….
    How to open website by typing eg ::: http://www.abc.com

  3. cypher says:

    But if someone is using windows. Can that person still have Linux server been installed?

    • Ravi Saive says:

      @Cypher,

      Yes you can install Linux server there isn’t any major difference, except you must know about root, swap partition before installing..

  4. deepesh says:

    I am using data card & I want host my website from my laptop so it can happen.

    I am getting problem while host website in outside.
    my website work only local host.

    • Ravi Saive says:

      @Deepesh,

      Yes you can host your website in your laptop, but you need a static IP address to make it available on the web..May I know what kind of problems you facing while setting up website?

  5. rudra says:

    I want to place hosting live for my company please help me with step so i can have some business and can join client too

    • Ravi Saive says:

      @Rudra,

      We’ve already presented the article with nice step-by-step article to host your own website under Linux server, now may I know what kind of help you looking for?

  6. ks says:

    Thanks so much for this! Extremely helpful and easy to follow!

  7. Scott says:

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

  8. 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:

      @Nj,
      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.

  9. 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.

  10. Bert says:

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

    • Ravi Saive says:

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

Got something to say? Join the discussion.

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

Join Over 150K+ Linux Users
  1. 100,756
  2. 5,113
  3. 36,418

Enter your email to get latest Linux Howto's