Computer Hope

Internet & Networking => Networking => Topic started by: Ivy on October 21, 2008, 02:23:35 AM

Title: Setting up my own Server
Post by: Ivy on October 21, 2008, 02:23:35 AM
Hi Guys!

I'm gonna put up my website in a month or so, I've many possibilities about how I could go about it, One question that I have is that  how does one set up a server, my own server, with my domain name, I just want to gain knowledge about it, about what all is required etc, For my website I might use another server , but I'm just interested in knowing how difficult or easy it is to set up a server!

I'll greatly appreciate any views and suggestions.

Thanks a lot!
Title: Re: Setting up my own Server
Post by: Zylstra on October 21, 2008, 07:55:23 AM
Check out the following:

http://www.ubuntu.com/products/WhatIsUbuntu/serveredition

https://help.ubuntu.com/8.04/serverguide/C/index.html

Domains are very difficult to set up from what I have heard... I never really wanted one because they cost money.
Check out www.co.nr though, its not an actual domain, but, it will redirect to your IP address.

Just remember:
A good server isnt going to have a desktop on it. You should dedicate a computer to run as a server.
XAMPP only makes a good temporary solution, for example, I run XAMPP on my Vista laptop when my server is going to be offline for a long period of time.

http://www.apachefriends.org/en/xampp.html


Also, remember:
If you want a forum like SMF, you need:
PHP
MySQL
Apache2

If you want just a basic website, you only need Apache2.

I also recommend you install OpenSSL, ssh-client, and ssh-server.

And, if you want easy web administration, check out:
www.webmin.com

Title: Re: Setting up my own Server
Post by: michaewlewis on October 21, 2008, 03:42:25 PM
Domains are very difficult to set up from what I have heard... I never really wanted one because they cost money.

Setting up a domain name should be as simple as entering the ip address of the server into the domain name provider... The dns servers should take care of the rest.
As far as cost, you can get a domain name for around $10 a year. While technically that does cost money, it's not that much. :P

I would recommend using a separate hosting service altogether, however, if you can afford it. It's much simpler and you don't have to worry about software updates and service packs, bandwidth, losing data from a server crash or the larger possibility of downtime. Nathan even uses a third party host for the forum.
Title: Re: Setting up my own Server
Post by: Ivy on October 22, 2008, 12:16:37 AM
Thankyou Zylstra, I'm gonna read all the links you provided one by one and see how much knowledge I can gain about servers etc, I actually don't know much about servers , I'm just starting , I'll read as much as I can before I actually start my project.

Thankyou michaewlewis ,
Quote
I would recommend using a separate hosting service altogether
Can you give me more info about this? I don't know how to do this.

Thanks a lot guys! I really really appreciate your help!
Title: Re: Setting up my own Server
Post by: Ivy on October 22, 2008, 05:01:18 AM
Okay I read the links, After going through all that I think it might be a lil difficult to set up my own server cause it needs a lot of time,effort and knowledge,Vigilance etc etc..

I came across the option of running my website under some other server ,but I'm not sure about what type of webhosting company may suit my needs.

My requirements are :
Firstly,I want a website with a forum , with my domain name.I want to be the only owner.

but what are the best free web hosting companies out there? Any reliable ones.
If none are reliable I'm happy to pay for it!! but I just need the best that is available!


I'd really appreciate any information about all this, as to where I can start.

Thanks a lot!
Title: Re: Setting up my own Server
Post by: tech.kyle on October 23, 2008, 06:22:31 AM
(Incomplete!)
Making Your Own Web Server

By Tech.Kyle (aka: guest_55)

The Problem:
Ivy wishes to run a web server. I am assuming she wants to run it at home and she is using a simple home router to handle her internet connection.

In this guide, I will attempt to guide you through making your own public web server, complete with domain name. In my examples, I will be using a Linksys WRT54G Home Router and Windows XP.


A Lesson in Computers:
Lets look at what exactly allows your computer view a webpage. This will help you understand why we need to configure and install what we configure and install.

The very first thing your computer does when you try to go to a web page is to convert the domain name (for example, www.google.com) to an IP address. It does this by using DNS (Domain Name System). Once your computer has the IP address, it can send a HTTP request on the default HTTP port (Port 80) to that IP address. The computer with that IP address receives the message, looks at the domain name requested and sends the associated web page back.

With that in mind, we can see the three main things we need to set up.
1. We need to set up a domain name that points to our IP address.
2. If you are behind a firewall, we need to open port 80.
3. We need web server software to handle the HTTP requests.


The Plan:
1. Choosing a Server
2. Installing Your Server Software
3. Setting Up a Domain Name
4. Configuring Your Router

Things You Will Need
An always-on internet connection such as DSL or Cable.
Windows NT/2000/XP/Vista or almost any distribution of Linux
(Optional) An unused computer
(Optional) ???


1. Choosing a Server
Being a web server isn't necessarily that hard of a job for a computer. This is certainly nice to know. Because of this, you can use any old, slow computer and still have a quick, fast website. My personal server is running on a Dell Optiplex GX270, Intel Celeron 2.0GHz, 1GB PC3200. To be honest, that's overkill for what I have it do. For most purposes, if you can run Windows or Linux on it, you can turn it in to a web server.

There are many different Operating Systems out there, but I'm only going to talk about two. Windows and Linux.
Using Windows will be the easiest to set up, but won't be as fast.
Using a distribution (or "distro") of Linux will be much harder to set up, but will run faster.
Since the purpose of this guide is for you to learn, I recommend Windows since many are familiar with it. I will try to cover Linux as well if anyone would like to use that instead.

The final choice you will have to make is what software you would like to use. Like Operating Systems, there are many different options, but I will again focus on only two. Microsoft's IIS (Internet Information Services) and Apache.
IIS is built in to Windows XP Professional and can be installed and configured very easily.
Apache is a very fast and powerful web server, but like Linux, it can be hard to set up and manage.


2. Installing Your Server Software
If you chose Windows to be your Operating System, you should be able to install it without problems if it's not installed already. Remember that you will need Windows XP Pro (not Home) if you wish to use IIS. If you wish to use Apache, you may use either Home or Pro.
If you chose Linux to be your Operating System, check any boxes that say "Web Server" during installation. If you can't find any, that's okay. We'll install Apache later.


3. Setting Up a Domain Name
Since "free" is sort of the underlying theme of this guide, let's set up a free domain name. These domains are actually "sub-domains". If you have a home router, check through the settings to see if your router supports dynamic DNS updates. If not, we will rely on a simple desktop client to do the updates.

Since your IP address often changes, we will need to set up what's called "Dynamic DNS". I will be using DynDns (http://www.dyndns.com (http://www.dyndns.com)) as an example.

Lets go to dyndns.com and create an account. Click the "Create Account" link under the login boxes at the top. Fill out the information and agree to the Terms of Service. Once you've created your account and logged in, click "My Account" on the left hand side. Under "My Services", click "Add Host Services".
This is the section that will allow you to choose your domain name. The first two things on the page will let you choose a sub-domain name (in the text box) and a domain name (from the drop-down box). A sub-domain name of "mikeskitchen" in the text box and a domain name of "blogdns.com" from the drop-down box will result in the domain name "mikeskitchen.blogdns.com". You may choose anything you like assuming it hasn't been taken already.
Once you've decided on a name for your website, go down to "IP Address". For now, click "Use auto detected IP address". Look everything over and if it looks okay, click the "Create Host" button.

You now have your very own domain pointing to your current IP address! Once we configure your router, you will be able to see your own webpage using your new domain name.


4.



Setting Up a Free Domain Through DnyDNS.org


Notes to myself:
DNS updates: if not router, then desktop client.
Write guide for IIS and Apache.
Don't forget screenshots.
This is going to be a pretty grand first post.
Title: Re: Setting up my own Server
Post by: Eg0Death on October 23, 2008, 07:09:02 AM
[Note: the following is NOT a paid advertisement]  I used GoDaddy.com to register my domain name and host my (pathetic) web page.  I originally tried to set up my web page on a home server but I kept "breaking" the server while experimenting with other server stuff.  :-[ Having it hosted on GoDaddy keeps it safe. 

When you set up your hosting account you can choose to go with Windows or Linux based.  If you go with Linux you can use SMF 1.1.6 to set up a forum (the same thing that ComputerHope.com uses). 
Title: Re: Setting up my own Server
Post by: Zylstra on October 23, 2008, 07:00:43 PM
Check this out, it lists a few hosting services:
http://www.computerhope.com/forum/index.php/topic,40055.0.html
Title: Re: Setting up my own Server
Post by: ChrisXPPro on October 23, 2008, 07:37:41 PM
Good luck Ivy - it really isn't that bad!

Once you have chosen and booked a domain - once it ''propogates'' the DNS and you have your FTP info - it's only a case of uploading a mirror of your site on your own puter and maintaining it.

There is much forum software around too - so not that bad to set up a forum - but beware the spammers and idiots!  ;) :)

GoDaddy is fine for many folks but - just be aware that (IMO) they are not always that savvy on some things - however the tech support folks do try hard and usually manage to help.
Title: Re: Setting up my own Server
Post by: Zylstra on October 23, 2008, 09:13:29 PM
I'd say the two easiest forums out there to use and set up are:
SMF (You might consider trying SMF 2.0, it is stable)
and YaBB.

Of course, when it comes to ability to add modifications and themes and all that whatnot, SMF beats YaBB to the ground. YaBB is better off running by itself without modifications. (A modification is like a subprogram, eg: The Forum Chat on ComputerHope is a modification, as well as users ability to enter System  Specifications, Experience Levels, etc)
Title: Re: Setting up my own Server
Post by: Ivy on October 23, 2008, 11:11:02 PM
Thankyou Kyle!

Thankyou for taking the time to register and post here!! also thanks for that elaborate and defined information, That's the type of help I was asking for because I'm just a starter I couldn't understand the things being mentioned for example I didn't know what Apache was,but now I know its a Server Software!
Also thankyou for the step by step directions because I didn't know where to start exactly finally I have a better understanding of what I'm doing, I actually need someone to hold my hand through this!



I had given up the Idea of setting up my own server, but later I might do that aswell and someone told me I can switch servers, so will I be able to switch my server from these webhost companies ?

Zylstra I already read that thread, I went to www.site90.net/ and it was total confusion, besides someone told me that the forums crash down if more than 2 users are active!!!!!!

I'm considering the pay hosts now, which one is the best? I assume its http://www.totalchoicehosting.com/.


After I choose one of these webhosts what do I need to do next?

Thankyou so much guys for helping me through this!! I really appreciate your help and guidance!
Title: Re: Setting up my own Server
Post by: Aegis on October 23, 2008, 11:57:38 PM
Once you've chosen your web hoster, and you have your web pages built, you'll need to use an FTP (File Transfer Protocol) program (I think most web hosters have an FTP built in that you can use) to upload your web pages to their site.  This makes the pages available to the Internet.
Title: Re: Setting up my own Server
Post by: Ivy on October 24, 2008, 12:00:58 AM
Quote
Once you've chosen your web hoster, and you have your web pages build

What are the best places to build my website from?I have to keep in mind my forum.
Title: Re: Setting up my own Server
Post by: Aegis on October 24, 2008, 12:05:18 AM
You're working on your site by creating .html files, right?  These are saved somewhere on your local drive.  These files would be uploaded to the web hoster.
Title: Re: Setting up my own Server
Post by: Ivy on October 24, 2008, 12:12:00 AM
I haven't started that yet, I was thinking about using dreamweaver for that but I'm not sure if that's the best choice!
Title: Re: Setting up my own Server
Post by: Aegis on October 24, 2008, 12:15:21 AM
A utility like Dreamweaver will probably be the easiest way to build pages.  If you are not too worried about the workings of the HTML / CSS code.

Some people use utilities.  Some write their own code.  Some do a combination of both. 

I'd use a utility to get up and running -- the site can always be 'tweaked" later.
Title: Re: Setting up my own Server
Post by: Ivy on October 24, 2008, 12:18:35 AM
Thankyou Aegis! I'll use dreamweaver then.
Title: Re: Setting up my own Server
Post by: Aegis on October 24, 2008, 12:25:10 AM
I was told by some on here that Dreamweaver adds extra code to the page, but I wouldn't worry about it at this point, unless or until you decide to concentrate on the coding, itself. 

I'm told that Dreamweaver is one of the best and most complete packages for web page creation.  I think it's a good choice.
Title: Re: Setting up my own Server
Post by: ChrisXPPro on October 24, 2008, 08:44:37 AM
Agreed re Dreamweaver - in essence.  It will certainly do the job.

My criticism of it is that it does not apply tidy code to my liking often - but then I spend more time in the code window anyways, often ''tidying up" too!

If expense is a problem getting DW - Google "Kompozer" which is free - it's a fairly presentable app for making pages but not true WYSIWYG like DW.

One other point - if you get to making up your pages make sure you test them in several browsers as cross-browser compatibility is sometimes a bear.  www.browsershots.org can be useful for that.
Title: Re: Setting up my own Server
Post by: kpac on October 24, 2008, 04:26:45 PM
If expense is a problem getting DW - Google "Kompozer" which is free - it's a fairly presentable app for making pages but not true WYSIWYG like DW.

I think there is a topic about this somewhere...

Notepad ++ is another good alternative... ;)
Title: Re: Setting up my own Server
Post by: Aegis on October 24, 2008, 05:38:39 PM
Quote
Notepad ++ is another good alternative...

IF you want to write code!

Ivy has not stated she wants to write code, at least at this time.  She wants to create pages.
Title: Re: Setting up my own Server
Post by: Ivy on October 25, 2008, 12:39:58 AM
I think there is a topic about this somewhere...

I had ordered dreamweaver, they said they'd email me back, but the email hasn't come yet and I'm not a very patient person.

Title: Re: Setting up my own Server
Post by: street1 (RIP) on October 25, 2008, 05:28:54 AM
I think there is a topic about this somewhere...

I had ordered dreamweaver, they said they'd email me back, but the email hasn't come yet and I'm not a very patient person.



So,blow them up...... ;D
Title: Re: Setting up my own Server
Post by: tech.kyle on October 27, 2008, 02:58:12 AM
Dreamweaver can be nice if you're familiar with it. I hope you're getting the demo. My grandfather thought Dreamweaver would help him make a webpage. I explained that Dreamweaver would only help you code the webpage and that it wouldn't do the code for you. (He was trying to set up an online store)

Something to consider.

As for a host, an old friend of mine really seemed to like Dreamhost.

Edit: Unless I'm wrong. Are you talking about templates? If you want something with templates and whatnot that will help design a sort of "flow" to your webpage, I would probably check out Microsoft's offerings. The last version of Dreamweaver I've used was back when Macromedia owned it. Perhaps it's changed since Adobe took over?

Quote from: street1
So,blow them up...... ;D

*shrug* That's what I'd do.
Title: Re: Setting up my own Server
Post by: Zylstra on October 27, 2008, 09:53:05 PM
Dreamweaver is a wonderful program, but, expensive.
And, for a site mainly based around a forum, it might not be worth it.

Check out Kompozer, the "updated" version of NVU with quite a few bug fixes from the original program called NVU.
http://www.kompozer.net/download.php

Its a good idea to have a basic understanding of HTML (Hyper Text Markup Language, which, by the way, is not programming, or scripting.)
ComputerHope has a wonderful page dedicated to HTML:
http://www.computerhope.com/learnhtm.htm
I use templates a lot from a website from my Webmasters Best Friends link, OSWD.org (OpenSourceWebDesign)

As for paid hosts:
GoDaddy.com is a pretty good service, but, I've always liked supporting the smaller companies, if this isnt a concern of yours, then go with GoDaddy, it will have less downtime than any other cheaper host simply because of its popularity.

www.hostgator.com is another great service, I use it for two websites I manage. Its a wonderful service, with prompt customer support.
I highly recommend cPanel for beginners.
Title: Re: Setting up my own Server
Post by: Ivy on October 28, 2008, 08:41:34 PM
Quote
If you go with Linux you can use SMF 1.1.6 to set up a forum
I'm using windows, what is the recommendation for that?

Check out Kompozer, the "updated" version of NVU with quite a few bug fixes from the original program called NVU.
http://www.kompozer.net/download.php

If expense is a problem getting DW - Google "Kompozer" which is free - it's a fairly presentable app for making pages but not true WYSIWYG like DW.

Sorry I think I should have mentioned This  (http://www.computerhope.com/forum/index.php/topic,68717.0.html)here aswell...Thankyou for http://www.browsershots.org/ link! I needed this.

Title: Re: Setting up my own Server
Post by: ChrisXPPro on October 28, 2008, 08:54:38 PM
Keep going Ivy - and let us know how you get on.  :)
Title: Re: Setting up my own Server
Post by: Ivy on October 28, 2008, 08:57:54 PM
Exactly this moment....I'm downloading SMF 1.1.6 :)
Title: Re: Setting up my own Server
Post by: Ivy on October 28, 2008, 09:05:49 PM
.....It didn't work..for some reason my computer won't extract all files! I don't know why this is happening but my computer is not allowing the complete extraction of files!

I'm so tired of downloading so many software and then they won't run!
Title: Re: Setting up my own Server
Post by: ChrisXPPro on October 28, 2008, 09:19:34 PM
That sucks big time and have to wonder why you have these problems.

Any specific error messages at all?
Title: Re: Setting up my own Server
Post by: Ivy on October 28, 2008, 09:32:25 PM
Guess cause SMF 1.1.6 is not meant for windows, I'm using windows platform.

I don't know how to start working on the forum design in windows!!

It uses YaBB I guess!!

What shall I do?!


P.S. I'm downloading YaBB right now!
Title: Re: Setting up my own Server
Post by: Ivy on October 28, 2008, 09:46:46 PM
Again the downloading wasn't successful, It gives me an Icon on the desk top which won't run!!(I've given the screen shot)

Wait I'm thinking maybe I need to first upload my website on the server, maybe only then I can create the forum! Is that the case?

[Saving space - attachment deleted by admin]
Title: Re: Setting up my own Server
Post by: ChrisXPPro on October 29, 2008, 09:57:37 AM
Ivy - if you are trying to run something from your puter using .PHP you won't have any luck - unless you are set up with your own server software on your hard drive. 

The PHP will normally run itself only on a host server because that will have PHP available in almost all cases these days.  So - your YAbb will have to be placed on a web host server to operate for you, tho you could get it running at home for test purposes if you set up your own server.

No link handy but within CH there should be some info about setting up a server on your own machine.
Title: Re: Setting up my own Server
Post by: kpac on October 29, 2008, 12:27:00 PM
Guess cause SMF 1.1.6 is not meant for windows, I'm using windows platform.

SMF is perfect for Windows. Does your webhost have cPanel installed?
Title: Re: Setting up my own Server
Post by: Zylstra on October 30, 2008, 05:33:59 PM
I still wouldent recommend a Windows server... thats the one thing that I dont trust with Windows. I had so many security permission issues with Server 2003... even with a program such as XAMPP, I still wouldent... I do use XAMPP as a temporary server when the main one is down though.

As said above, in order to run SMF, you need PHP for servers, and for YaBB, you need Perl for servers.
Title: Re: Setting up my own Server
Post by: ChrisXPPro on October 30, 2008, 07:05:16 PM
Shucks - had forgotten YAbb was Perl - so definite need there for SSI.

So many forum apps are php these days.

I have mentioned before a while ago - I do find ''Vertrigo" a very suitable 'on board' server platform for testing purposes.
Title: Re: Setting up my own Server
Post by: Aegis on October 31, 2008, 12:42:20 PM
I'd run a server with Linux.  I hope to do so, one day...
Title: Re: Setting up my own Server
Post by: Ivy on November 01, 2008, 05:15:06 AM
I was loosing my patience with all these download problems!

So I have just Bought all the software I needed, so I don't have to bother about the downloads and the free trials etc etc.

So I bought:

1)Adobe Dreamweaver
2)Adobe Photoshop
3)Adobe Illustrator

Now I'm happy!!
Title: Re: Setting up my own Server
Post by: Aegis on November 01, 2008, 05:48:21 AM
Is that part of Creative Suite 3 or CS 4  ?  Just curious...
Title: Re: Setting up my own Server
Post by: Ivy on November 02, 2008, 03:36:57 AM
I'm sorry Aegis, I don't know what I was thinking when I answered this question last time, I must have been in a real hurry!

Its Creative suite 3 Family

Title: Re: Setting up my own Server
Post by: Aegis on November 02, 2008, 08:00:15 AM
Very cool -- I was just curious!  I believe that includes the "bridge" software which lets you move your projects between programs.  Nice.
Title: Re: Setting up my own Server
Post by: kpac on November 02, 2008, 08:02:20 AM
Its Creative suite 3 Family

Nope, I'm not a bit jealous. ;D
Title: Re: Setting up my own Server
Post by: Zylstra on November 02, 2008, 03:03:26 PM
For a beginner, I highly suggest you look into any service that has cPanel or a similar web administration program.
It just makes things easier, and ease is a good thing, I have learned.

Most good hosts that have cPanel arent overly expensive, even though subscriptions to cPanel are very expensive.