Forum Moderators: mack

Message Too Old, No Replies

create web server

         

metaphor

10:11 pm on Oct 5, 2004 (gmt 0)

10+ Year Member



Hello everyone. I'm new in the forum and also new in this subject. I've searched in the google and this seemed to me the best forum in what concernes to this subject. The reason why I'm here is because I want to create my own Web Server and I'm a real newbie in this matter...So, can someone tell me what can I do to learn the basics of "how to create a web server"?

Thanks a lot and congratulations for the nice forum here!

Tiago Godinho

mack

11:50 pm on Oct 5, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hi metaphor,
First off welcome to webmasterworld, glad you found us :)

When you talk about creating a web server, are you planning to host a website(s) on your own hardware?

It is actually simple to set this up, but there are many, many pitfalls to be very wary of before you decide to go ahead.

If you are planning to use a server simply for testing out sites or application locally before you upload them to your service provider then I think this is a good idea.

First off you need to decide what server you wish to use. This will vary depending on your operating system. If you are running windows you have IIS or Apache as your main options. On Linux apache appears to be your main option.

You also need to think about networking and connectivity. On a local network this is in essence fairly simple. You have an ip address assigned to your server and you visit this from any other workstations on the network. For wide area networks or the web you need to be very careful. Make sure you only open ports that are required. Security is a massive factor when you run your own hardware.

If you are running a server for internet use then connection is very important. You need to ensure you have a connection with not only good upload speed, but also a fixed ip address. It is possible to host on non fixed (dynamic) ip's although fixed (static) addresses are always a better option.

If you are going to host on your own hardware there are a few things you really should think about.

If your site goes down you are responsible for getting the situation resolved.

You will need to ensure you secure the server, as well as the rest of your network.

You need to have a computer running 24/7.

Does your service provider allow you to run a
server on your connection.

Running a server does indeed sound simple, although there is a lot more to it than meets the eye. Today the cost of hosting is very reasonable. If possible I would recommend checking out the price and suitability of a web host before doing it yourself.

I do not want to put you off, quite the opposite. Hosting yourself can be a great learning experience. I have hosted from home in the past (currently still do) but that was more to teach myself how to administer a server.

My theory on this is. If you can host it with a web host then do so. If it is not practical to use a host then host it yourself.

Mack.

metaphor

1:32 am on Oct 6, 2004 (gmt 0)

10+ Year Member



Hi Mack. First of all thanks for your cooperation regarding to this subject.Answering to your question :

If you are planning to use a server simply for testing out sites or application locally before you upload them to your service provider then I think this is a good idea.

This is more or less the reason that I want to create a Web Server, but who knows in the future I'll start hosting my own page 24/7...? But for now I just want the server to do what you said.

I'm very motivated to start learning how to do it, but I'm fully aware of the difficulty of this to a newbie like me...Anyway I'd like to try!

My operating system is Windows.

I'd like if you'd accept to be my mentor on this! So, if possible, tell me what to do first of all? I have all the time of the world, and I'm pacient...

Thanks one more time.

Tiago

P.S. : Sorry if the english is not quite good...I'm portuguese...

webdude

1:42 pm on Oct 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



metaphor,

If you are running Windows XP Professional there is already a web server built in. It is called IIS5. But be aware that IIS5 for Windows XP Professional is designed for users developing a Web service for home or for office use. It can service only 10 simultaneous client connections.

If you are running any of the servers (ie. windows 2000, 2003, NT) the web services are built in and can be installed from the media disk. These IIS severs can support unlimited connections, domain names and IPs. This is what you would use if going the hosting route.

All other Windows platforms, and I may be wrong here, made a personal web server available, if not on the media, at least downloadable. This went back to Windows 98. But I think they were all limited as to the max number of connections and how many sites you could host.

If you are serious about hosting, you are probably going to have to bite the bullet and buy a server if you want to keep it Microsoft native.

There are other web servers softwares available that work quite nicely with Windows. Apache and Zeus come to mind, which used to be free last time I checked (might still be).

There is also iPlanet and Sambar. You are just going to have to roll up your sleeves and get busy :-)

metaphor

6:20 pm on Oct 6, 2004 (gmt 0)

10+ Year Member



Hi Webdude. Well...the main reason why I want to do this is because I want to use it sort of like a "personal upload center", do you understand...? Maybe I'd also like to create a web page but, in the present, that's not the main reason. Other reason is the fact that I have lots of curiosity and interest in this subject and I'd like to learn a little more about it...!

I have Windows XP HOME and Windows 98 SE. Probably is best to use the Win XP...so...in your opinion what's the best software to download?

Tks.
Tiago

macrost

9:09 pm on Oct 6, 2004 (gmt 0)

10+ Year Member



XP home doesn't have IIS, so you would either use 98 se which has PWS, or 2k/xp pro for iis.

metaphor

9:30 pm on Oct 6, 2004 (gmt 0)

10+ Year Member



And can't I download one of the programs you have said, like apache for example? It would be best for me to use the Win Xp...Tks

metaphor

11:02 pm on Oct 6, 2004 (gmt 0)

10+ Year Member



Or, in alternative, is it possible to upgrade XP home to XP pro?

tks

encyclo

11:30 pm on Oct 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you choose XP, the best bet is to use Apache 2, which is a quick install and runs beautifully:

[httpd.apache.org...]

When using IIS on XP Pro, you are limited to 10 concurrent connections, which is not a problem for a development server, but it might not be sufficient for production use. Also, IIS suffers from a poor reputation from a security standpoint - Apache is far better in this regard.

metaphor

11:57 pm on Oct 6, 2004 (gmt 0)

10+ Year Member



Thanks! I'll try that! I'll stay in touch...Don't worry because i'll be here to annoy you all during all the process, because i'll have several questions for sure! :)

Tks

Tiago

webdude

12:19 pm on Oct 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



metaphor

I agree with encyclo. Apache would suite your needs. It has been around for a long time and a lot of people are using it.

metaphor

12:44 pm on Oct 7, 2004 (gmt 0)

10+ Year Member



Just one thing I remembered...it has nothing to do with the web server but I guess you know the answer...I have a router with built-in firewall, I have no need to enable Win Xp firewall right? Tks

metaphor

12:57 pm on Oct 7, 2004 (gmt 0)

10+ Year Member



I've just downloaded the apache 2...but I have a problem that's a dumb problem but here it goes...How do i install it...? =/

encyclo

2:11 pm on Oct 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How do i install it...?

That's not a dumb question ;) The Apache site is rather confusing at the best of times...

Firstly, have you got the right file? Go to:

[httpd.apache.org...]

And make sure you select the one marked: Win32 Binary (MSI Installer). The current version at the moment is 2.0.52. Do not choose the 1.3 version.

Download it into an appropriate location, then double-click on it to start the installation. It's an ".msi" file rather than an ".exe", but it works in the same way.

Also, don't bother trying to install on Windows 98 - it won't run well, if at all.

mack

4:04 pm on Oct 7, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Yep I have go agreee. Apache 2 does run very well on xp. I curently have it on my xp home pc.

Another thing to think about. It the computer runnign the server going to be the same computer used to do the development. Or are you going to move the files from your development pc to the server?

If you are going to move the files they you will want to have a look into FTP.

Mack.

mincklerstraat

4:44 pm on Oct 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you use xp I'd try the [apachefriends.org...] project - looks very promising - you get apache, and then the extra goodies you'd probably want to install later anyways (php + mysql - lotsa nice php scripts for free out there, plus you can come and bother us on the php forum). Apache 1.3 will run ok on Windows 98, I did this for years -- but you'd only want it for checking out how scripts run, and not for actually hosting a site that's on the internet.

metaphor

9:48 pm on Oct 7, 2004 (gmt 0)

10+ Year Member



Well,I didn't download the msi version of apache...I'll do it now...but can you please answer by other question :
I have a router with built-in firewall, I have no need to enable Win Xp firewall right?

Thanks for the help once again!

Tiago

metaphor

10:32 pm on Oct 7, 2004 (gmt 0)

10+ Year Member



First question concerning Apache! :) The first thing of instalation (domain name,admin email, etc...)... How should I fill in the fields? Where am i going to host the server? is it just : www.?.com ...Am I going to have an email account with my server name?

Some orientation needed please...I want to do things right...

Tiago

encyclo

11:38 pm on Oct 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If it is a development server, you can put in pretty much any old thing in the server and email fields. You can always edit the configuration files later if you want the server to go live. For the rest, go with all the default options and you'll be fine.

I have a router with built-in firewall, I have no need to enable Win Xp firewall right?

Personally, I wouldn't bother. Again, if it is a development server, you don't need to change any firewall rules. If you want the server accessible from the outside, then you need to do some port-forwarding in the router for port 80.

metaphor

11:45 pm on Oct 7, 2004 (gmt 0)

10+ Year Member



Ok tks Encyclo...well...I'm about to start my odissey in "creating a web server"! =) I'll keep in touch!

Tiago

metaphor

12:37 am on Oct 8, 2004 (gmt 0)

10+ Year Member



Well...I confess...I.m confuse! My main problem is that famous question : "How should I start?" . If possible it would be great if any of you'd give me a link for some site containing sort of a list explaining me step-by-step the whole process...I just need to know what to do to start! (i guess...). If there's no site available, and all of you are with enough patience, you can also slowly try to tell me the order that I must start configuring Apache...

Tks and sorry...(if you're already tired of me I can go and search another forum with more people that I can annoy! =) just kidin'

Tiago

encyclo

7:02 pm on Oct 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How should I start?

If the installation was a success, open a browser window and type in the address [localhost...] - if that doesn't work, try [127.0.0.1...]

If neither work, you're installation failed. If you see a generic Apache welcome page, you're in business! Then, you just need to build your site* and place it in the directory you chose as your document root.

*- OK, "just" is a bit unfair - but you get the idea ;)

metaphor

8:17 pm on Oct 8, 2004 (gmt 0)

10+ Year Member



Ok...Instalation was successfull. Now I'll start the journey...I'll keep in touch!

Just one more thing, is there any irc channel where all you guys usually are? That would be more efficient...Tks Encyclo

metaphor

9:47 pm on Oct 12, 2004 (gmt 0)

10+ Year Member



Is there any IRC server that you usually connect...?

Tks