Vcoderz Community

Vcoderz Community (http://forum.vcoderz.com/index.php)
-   E-Learning Center (http://forum.vcoderz.com/forumdisplay.php?f=33)
-   -   Build Your Own Webserver!! >> 1 << (http://forum.vcoderz.com/showthread.php?t=14894)

Sheriff Ice 02-20-2009 01:42 PM

Build Your Own Webserver!! >> 1 <<
 
This small summary will go through the process of setting up a webserver without getting bogged down with the details of each step.



Later On a Detailed Tutorial will be published on stages.

Since there are about a million different ways of setting a webserver, this Summary only goes through the main steps.


1. Server
  • Get a computer you plan on using as a webserver.
  • Install an operating system on it (win 2000, win XP, linux, etc)
  • Install webserver software on it (IIS, apache, mail server, etc)
  • Install any other necessary packages (perl, php, mysql, etc)
  • Put your website content on the server.
  • Secure your server.(Firewall)


2. Connection
  • Find a DSL or Cable ISP that allows servers and offers static IP addresses. Dynamic service is fine as long as they allow servers.
  • Order the service.
  • Hook up the DSL or Cable service to a home router.
  • Find out your IP address.
  • If you have a dyanamic IP address, use a dynamic IP service to update your domain name.


3. Router / Network
  • Setup the router to work with your DSL or Cable service.
  • Give your server a static local IP number.
  • In the router forward all the necessary ports to the server (port 80, 21, 25, etc)


4. DNS
  • Open up an account at a free DNS service.
  • Create a zone entry for a domain you are going to use using the WAN IP of your DSL/Cable line.
  • Obtain the DNS server entries that are assigned to you from the DNS service.


5. Domain name
  • Register the domain name of your choice.
  • During registration, supply the DNS nameservers that you got from your DNS service company.


6. Troubleshoot and see what went wrong.



7. Work on your website


What you need:
Website idea
Domain name
DNS - Domain Name Services
Connection
Router
Network
Firewall
Server Hardware
Server Software
Tests/Tools
Troubleshooting



How is it connected?!

This is the chain of webserving. One link is connected to another. If one link breaks, the whole thing is going down. Keep this model in mind as you go through the different sections.

Domain name -> DNS -> IP number -> DSL/Cable modem -> Router -> Network -> Webserver



It is Easy isnt it ?!!


This is just a fast look for what you need , as i mentioned a deep look will be provided later

This tutorial is based on several Websites and online documentations

Sheriff Ice 02-20-2009 03:31 PM

IF Any Body has a question We are ready to answer, about the topics that you ask.

Thank You.

ZeRaW 02-21-2009 12:01 PM

man there is a software called wamp. just install it it comes with built-in apache server and php + some tools. and it has a small tray icon u just click on it and put ut server online and voila.

Sheriff Ice 02-21-2009 01:19 PM

Quote:

Originally Posted by ZeRaW (Post 174616)
man there is a software called wamp. just install it it comes with built-in apache server and php + some tools. and it has a small tray icon u just click on it and put ut server online and voila.

I know man,

Wamp for Windows
and Lamp for linux

They have phpmyadmin and SQLight manager.

But what we are talking here is setting your own server, and controlling your own enviroment.

You can even host several websites on the same server as you know.

HizbullaH 02-23-2009 03:47 PM

Hello Bro,
I Don't Think That This Is A Good Idea To Do That From Lebanon, Because A Pretty Good Connection Is Very Expensive... However, As You Know, Electricity Is Always 24/24 :p So You Have To Add Electricity Generator That Can Keep The Server Up 24/24 To Have A Complete Package :p

I Advice You If You Want A Small Server, Just Buy A Small VPS For About 15$s Per Month

I Am Ready To Configure Any LINUX Server w Ma Ra7 Nekhtelef 3al Se3er :p

xcoder 02-24-2009 07:29 AM

Quote:

Originally Posted by ZeRaW (Post 174616)
man there is a software called wamp. just install it it comes with built-in apache server and php + some tools. and it has a small tray icon u just click on it and put ut server online and voila.

That's for a basic web server, to have everything included you need to install Apache on a Linux machine where it's environment. I use xampp when i m on a windows machine but it's an emulator, no more no less.

Sheriff Ice 02-24-2009 08:42 PM

Quote:

Originally Posted by ZeRaW (Post 174616)
man there is a software called wamp. just install it it comes with built-in apache server and php + some tools. and it has a small tray icon u just click on it and put ut server online and voila.

ZeRaW, u cannot create .htaccess, .htpasswrd on the Wamp/Lamp server

You cannot emulate or even setup a configuration file for apache in such software.

Quote:

Originally Posted by HizbullaH (Post 174857)
Hello Bro,
I Don't Think That This Is A Good Idea To Do That From Lebanon, Because A Pretty Good Connection Is Very Expensive... However, As You Know, Electricity Is Always 24/24 :p So You Have To Add Electricity Generator That Can Keep The Server Up 24/24 To Have A Complete Package :p

I Advice You If You Want A Small Server, Just Buy A Small VPS For About 15$s Per Month

I Am Ready To Configure Any LINUX Server w Ma Ra7 Nekhtelef 3al Se3er :p

Well man i think UPS and Electrical Generators exist :p
I am not talking about a 1 building server man :p its about a basic personal server to host your website on it.

P.S.: after two months a very good connection with a very good price will probably be available :p


All times are GMT +1. The time now is 08:16 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger