Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Home Server Website Possibility?

  1. #1
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question Home Server Website Possibility?

    Hey guys,
    I am just wondering if it is possible to create a simple webite for my home server. I currently store school files, music, movies, ect.. on it and I am the solo user (for now). I am average at html/css and know what I am doing when it comes to the visual part, but I am not sure how I would incorporate files from my server with it. for instance if I got another computer inmy house how can I go to that website and stream/download/upload to the server? I know this is possible and would like the experience in bother webdesign/networking, just need solid direction.

    Thanks!

  2. #2
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: Home Server Website Possibility?

    Thread moved to Server Platforms.

    Ubuntu server edition would be ideal for such a project: the link in my sig "What on earth is a Lisati?" is hosted with the server edition.

    On the software side, Apache2 is good for hosting web pages. There are other options, which others might mention if needed.

    For connectivity with the outside world, you are likely to need to organize a domain name: services such as no-ip have "free" options that can sometimes be useful when starting out. You will also need to organize port forwarding on your router for the relevant services to your server.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  3. #3
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Home Server Website Possibility?

    Instead of coding the whole thing yourself you could take a look at some of the projects that already exist such as AjaXplorer and ownCloud.
    Cheesemill

  4. #4
    Join Date
    Nov 2008
    Location
    Hastings,Ontario,Canada
    Beans
    27
    Distro
    Ubuntu 15.10 Wily Werewolf

    Re: Home Server Website Possibility?

    @BStrizzy:

    As pointed out: all you need is: Apache2,or the LAMP[(L)inux,(A)pache,(M)ySQL,(P)HP] Stack,if you really want to dive in,and from looking at the website for Ajaxplorer(PHP5 required) and ownCloud,they might be good addons,too.

    Thanks,Cheesemill and Lisati,I've been looking into this also.

    I had the LAMP Stack installed awhile back,but went away from Ubuntu Server to try another Linux briefly,then had to have a bad Power Supply replaced(could've done it myself,but wasn't sure if it was the Power Supply,or the Motherboard,and don't have the test resources,so sent it out),so I'm back up now,planning to get back to playing around with LAMP shortly!

    Cheers,
    Richard
    Last edited by itpro007ca; December 2nd, 2012 at 06:47 PM. Reason: spelling,clarification

  5. #5
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,558
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Home Server Website Possibility?

    If you only need the stream/upload/download you mentioned, you don't even need a webpage or webserver.

    The upload/download is write/read to a network storage location. Just use simple Samba for that and both windows and ubuntu can access the shares and use the files.

    The stream part also depends how are you accessing it. For example, if you use a media player to open a media file, reading the file from the share is enough.
    On the other hand, if some device in your home expect to find a working media server (like a TV ttrying to play a movie) you can install something like MiniDLNA or Twonky.

    In any case, a webpage is not necessary in the above scenarios and only makes things more complicated.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  6. #6
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Home Server Website Possibility?

    Quote Originally Posted by lisati View Post
    Thread moved to Server Platforms.

    Ubuntu server edition would be ideal for such a project: the link in my sig "What on earth is a Lisati?" is hosted with the server edition.

    On the software side, Apache2 is good for hosting web pages. There are other options, which others might mention if needed.

    For connectivity with the outside world, you are likely to need to organize a domain name: services such as no-ip have "free" options that can sometimes be useful when starting out. You will also need to organize port forwarding on your router for the relevant services to your server.
    Awesome I will look into this, but I will just be using this home server website to be a local thing. I do not want it out on the air.

  7. #7
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question Re: Home Server Website Possibility?

    Quote Originally Posted by Cheesemill View Post
    Instead of coding the whole thing yourself you could take a look at some of the projects that already exist such as AjaXplorer and ownCloud.
    hey yeah I will take a look at this, I will probably use that and just modify it, assuming it is open source. Do i need lamp or apachee for any of this stuff? and can you give me a run down of what and why I need them for my own server? i figured I would only use it to make my site availible to anyone in the world. maybe i need it for local websites too to access the files?(im assuming?)

  8. #8
    Join Date
    Aug 2011
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question Re: Home Server Website Possibility?

    Quote Originally Posted by itpro007ca View Post
    @BStrizzy:

    As pointed out: all you need is: Apache2,or the LAMP[(L)inux,(A)pache,(M)ySQL,(P)HP] Stack,if you really want to dive in,and from looking at the website for Ajaxplorer(PHP5 required) and ownCloud,they might be good addons,too.

    Thanks,Cheesemill and Lisati,I've been looking into this also.

    I had the LAMP Stack installed awhile back,but went away from Ubuntu Server to try another Linux briefly,then had to have a bad Power Supply replaced(could've done it myself,but wasn't sure if it was the Power Supply,or the Motherboard,and don't have the test resources,so sent it out),so I'm back up now,planning to get back to playing around with LAMP shortly!

    Cheers,
    Richard

    ok can you just give me a run down on why i need lamp and apachee again

  9. #9
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Home Server Website Possibility?

    To run any sort of website you need a web server, Apache has been mentioned several times because it is the most popular web server available (most of the worlds websites run on Apache).

    For anything more than static HTML pages the most popular approach is to use the PHP scripting language and the MySQL database program along with Apache to allow for dynamic sites. This is where the LAMP acronym comes in (Linux, Apache, MySQL, PHP).

    Once you have LAMP set up there are a large number of open source website frameworks available for you to install on your server to save you doing all the coding yourself; these range from content management systems (Wordpress, Joomla and Drupal) to webmail systems (Squirrelmail, Roundcube) as well as photo galleries (ZenPhoto) and file management websites (AjaXplorer, OwnCloud) to name just a few.

    Why would you want to use these? That's down to your own imagination


    If all you want to do is have a file server to share files throughout your home you don't actually need any of this, you can just set up Samba on your server and it will appear as a network drive on your other computers. However, your initial post was asking about setting up a website on your home server so this is why everyone has been mentioning Apache.
    Last edited by Cheesemill; December 2nd, 2012 at 11:55 PM.
    Cheesemill

  10. #10
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,558
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Home Server Website Possibility?

    In case you missed my post #5 just to remind you to read it.

    I also think you don't need any of this and that your first question was asked wrongly.

    Webservers are not used for sharing files (although you can do that with FTP protocol), network shares are used for sharing files in a private home network.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

Page 1 of 2 12 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
  •