Page 1 of 6 123 ... LastLast
Results 1 to 10 of 56

Thread: How can I host a website on my own PC using Ubuntu?

  1. #1
    Join Date
    May 2008
    Beans
    279

    How can I host a website on my own PC using Ubuntu?

    I want to host my own website www.xyz.com on my PC.
    I haven't got a domain name or anything. But I read somewhere that it is possible. How can I do this?
    Apache?
    The website should be accessible to other people via internet.
    Can this be done using the Home <not server> version of Ubuntu?

  2. #2
    Join Date
    Feb 2010
    Location
    earth
    Beans
    256
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How can I host a website on my own PC using Ubuntu?

    You could run Apache without Ubuntu Server Edition, but I highly recommend Ubuntu Server Edition. Do you have any old computers?

  3. #3
    Join Date
    Mar 2006
    Beans
    2,423

    Re: How can I host a website on my own PC using Ubuntu?

    look at the guide in my sig

  4. #4
    Join Date
    May 2008
    Beans
    279

    Re: How can I host a website on my own PC using Ubuntu?

    @Austin25 I haven't got an extra PC, just this one...
    I have installed LAMP.

    @ubuntuman001 Great article. t will i be able to do that on my current Ubuntu for normal PC edition?
    Anyway to do it without again installing Server edition?

  5. #5
    Join Date
    Feb 2010
    Location
    earth
    Beans
    256
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How can I host a website on my own PC using Ubuntu?

    Well, it should work, but then it will go down if you computer gets turned off.

  6. #6
    Join Date
    Jul 2007
    Location
    The Internet
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How can I host a website on my own PC using Ubuntu?

    Your ISP has to not block port 80 as well - otherwise you'd need to serve the site on an alternate port. Then, for port 123 for example, visitors would have to type in:

    http://www.xyz.com:123

  7. #7
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: How can I host a website on my own PC using Ubuntu?

    Unless your ISP has given you a static IP you'll also need to use a service like DynDNS. That way when your ISP changes your IP, people will still be able to reach your site.

  8. #8
    Join Date
    May 2008
    Beans
    279

    Re: How can I host a website on my own PC using Ubuntu?

    Quote Originally Posted by Austin25 View Post
    Well, it should work, but then it will go down if you computer gets turned off.
    @austin25 so do servers keep running even if you turn them off??

  9. #9
    Join Date
    Sep 2009
    Beans
    Hidden!

    Re: How can I host a website on my own PC using Ubuntu?

    sudo apt-get install apache2

    Congratulations, you are running a web server.

  10. #10
    Join Date
    May 2008
    Beans
    279

    Re: How can I host a website on my own PC using Ubuntu?

    I have Lamp isntalled, will that affect this apache2?
    Doesnt Lamp come preinstalled with apache?

Page 1 of 6 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •