There are different reasons for why we might want to build our own web server at home. Some might be that we just want to be able to place our own information on the internet, some might be that we want to be able to access information from our home computer at all times and from anywhere. We can use the webserver to show our shared directory, to include information, movies, documents, and any other information that we place on our own web server, which is ours and we can do with it whatever we want.
What do we need to do to establish our own web server at home? How much should it cost us? What type of communication and network do we need to configure? I will answer all of those questions and you will discover it’s not that hard to do. The building of our own web server shouldn’t cost us money, especially if we already have a computer, we can use a Linux based server with Apache on it, and we have a web
You might say, hey I am using windows, and I would still want to use windows, so my answer is – “Virtual Server“. We can host a virtual server on our Microsoft windows computer, and install on that VMware server – the Linux operating system we want to use as our home web server or we can just create a partition and install on that partition that web server, and just load into the Linux operating system, and let that run always, so the webserver will be online and accessible from the outside at all time.server alive and kicking.
I will explain how to install a Linux based webserver here in a bit, but first, let’s just understand the network configuration we need to establish to make it work like any other web server on the internet.
What we need are:
- Computer – any PC will do (Linux operating system doesn’t require much).
- Installed a Linux operating system with Apache.
- Request a constant IP from our ISP. (So we will have a permanent IP to host our web server – since it has to be always up, and without a constant IP, our home IP changes regularly, and we won’t be able to access it).
- This is not a MUST – we can buy a domain – (we can access our home web server using the constant IP, but it might be either nicer to access it using our own domain name which is easier to remember instead of remembering an IP number, or if we want our home web server to be a real server on the outside, we will need a domain, so it will be included in the internet world as a regular websites do.
Installing a Linux based Web Server:
- Install a Linux operating system, You can download the Linux operating system (I prefer Ubuntu) from here (for a web server – no GUI is needed):
Desktop Edition: (Including the GUI) at http://www.ubuntu.com/getubuntu/download
Server Edition: (No GUI by default) at http://www.ubuntu.com/getubuntu/download-server
- After installation – perform these two commands, to get the Ubuntu repository updated and upgraded.
* apt-get update
* apt-get upgrade
- Install Apache2: The instructions are as follows:
* apt-get install apache2
|
** the root directory of apache to place the website files is /var/www/
- If you want to use PHP, you can install it by using:
* apt-get install php5 libapache2-mod-php5
- If you are going to use a Database, then install the MySQL.
* apt-get install MySQL-server libapache2-mod-auth-MySQL php5-MySQL
For those who are not web designers, you might consider using “DRUPAL“, like your web designer, it is a nice tool, that with a bit of study, you can have a web-server up and running in no time (well in a short time). You can get all the info you need on Drupal, in the below website, install it, and learn a bit on how to configure it, and your all done.
23 Comments to 'build a web server, build home server'
29/05/2010
Wow am I literally the only comment to your incredible post?
08/06/2010
Interesting and informative. But will you write about this one more?
08/06/2010
Hi,
I would appreciate it if you could be more specific, on what your missing here.
Update me on what your missing, and I will see if I can edit/add the info into this article.
Remark: I plan to make a section called “step by step” – for step by step configuration/installations etc… but it will be in a later stage.
Cheers,
Admin
16/08/2010
And the computer with the router is overheating and shutting itself off. No wireless until tomorrow.
10/10/2010
hey great site, nice design. Like the content keep up the great work !!
12/10/2010
Thanks 🙂
admin
28/11/2010
Great post! You may want to follow up on this topic 😀
nofollow
01/12/2010
I am always invstigating online for articles that can assist me. Thanks!
03/02/2011
I actually do not ever comment on blogs, however this particular one is simply brilliant! Thanks.
04/04/2011
Admiring the dedication you put into your site and in depth information you present. It’s good to come across a blog every once in a while that isn’t the same unwanted rehashed material. Wonderful read! I’ve saved your site and I’m adding your RSS feeds to my Google account.
21/04/2011
Another very entertaining post. Ive been reading through some of your posts and finally decided to drop a comment on this one.
03/06/2011
Hello. Great job. I did not expect this. This is a excellent story. Thanks!
13/09/2011
Really clean and fantastic user friendly style and design, and interesting content. You’re an expert in this topic!
13/10/2011
It’s very usefull information that you share over here. I wanna thank you for sharing this gesprek met honderden geile dames and I wanna visit your website more when you’ll keep up the good work and share more posts like these.
22/10/2011
I really knew about much of this, but in spite of this, I still considered it was beneficial.
Excellent blog!
Fantastic blog, very informative. I urge you to continue to write such wonderful pieces of literature, it really inspired me!
I often read your blog and always find it very interesting. Thought it was about time i let you know…Keep up the great work
10/04/2013
Wow, this piece of writing is good, my sister is analyzing such
things, therefore I am going to convey her.
05/08/2013
Hi there, just became alert to your blog through Google, and found that it’s truly informative. I am going to watch out for brussels. I’ll appreciate
if you continue this in future. Numerous people will be benefited from your writing.
Cheers!
08/01/2015
You actually make it appear really easy along with your presentation however I find this matter to be actually something that I believe I might by no means understand.
It seems too complicated and extremely vast for me.
I aam looking ahead to your next submit, I’ll attempt to get the
hang of it!
16/06/2016
Woah! I’m really loving the template/theme of this website.
It’s simple, yet effective. A great deal of times it’s extremely tough
to get that “perfect balance” between superb usability and visual appearance.
I must say you’ve done a excellent job using this.
Additionally, the blog loads super quick to me on Internet explorer.
Outstanding Blog!
13/04/2019
This is really interesting, You’re a very skilled blogger.
I’ve joined your rss feed and look forward to seeking more of your great post.
Also, I’ve shared your site in my social networks!
24/04/2019
Hi there! This is my first visit to your blog! We are a group of
volunteers and starting a new project in a community in the same niche.
Your blog provided us beneficial information to work on. You have done a outstanding job!
27/08/2020
Hello, Neat post. There’s an issue together with your site in web explorer, may test this?
IE nonetheless is the marketplace leader and a huge section of people will miss your fantastic
writing because of this problem.
14/12/2020
I was suggested this blog by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my problem. You are wonderful! Thanks!|
Leave a comment