Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

How To Make Your Own Server


How To Make Your Own Server

By ghostghost | 7852 Reads |
0     0

Okey, so you always wanted to have your own web server, right… But you've never got the time to put yourself in to it… You might think it is too hard and complicated, but it's really simple!

The following way works if you are using Windows 2000 or XP Professional. You can install it on other Windows-versions too but the way to install it is slightly different.

First you need to have Windows 2000 or XP Professional installed (does not work with XP Home). Go to the Control Panel –> Add/Remove Programs –> Add/Remove Windows Components. There you'll have a couple of items with check-boxes. Scroll down until you find "Internet Information Services (IIS)" and check it. Just press Next to begin the installation.

After the installation is finished a folder called "Inetpub" has been created on your harddrive, usually "C:\Inetpub". In it you'll find folders like, "AdminScripts", "Scripts", "mailroot", etc. The most important folder is "wwwroot". Everything that you put in there will be accessible from other computers. To create a simple webpage, put "index.htm" in this folder. Now this page will be default page when you enter "http://localhost/" or someone else enters your IP. If you want to have an asp-page as default you have to name it "iisstart.asp". If you want to access any other page than the default, just type http://localhost/<nameOfPage> to open desired page.

If you're sitting behind a router there is a chance it will not let people access your server, since it has a firewall to keep people with malicious intensions to connect to your computer duuh. Doing this on my router was quite simple but I don't know how it is on other routers. You should be looking for Port Forwarding. It might be located under Advanced or Tools or something like that. When you find it, add a rule that allows all traffic on port 80. If others still can't access your server, check your firewall. If you're using Windows Firewall (yes, I know it's not the best one you can have but still) you shouldn't have a problem. But if your using Norton, F-Secure or similar, you might have to add a rule to allow traffic on port 80 there as well.

To learn HTML or ASP I recommend: http://www.w3schools.com/

To get a host-name to your server: http://www.dyndns.com/ http://www.no-ip.com/

Now it's just to start writing HTML- or ASP-documents and create a monster website! On you OWN SERVER!

This is my first article. Hope it's a good one. Plz vote.

//c4p_sl0ck

Comments
ghost's avatar
ghost 18 years ago

Is there any way to have a server on home edition?

ghost's avatar
ghost 18 years ago

Good information here that will help a lot of people out.

Uber0n's avatar
Uber0n 18 years ago

Conaman12: Yes, there is. But you have to do some work first. Read this article: http://adamv.com/dev/articles/iis-on-xp-home

Btw, great article c4p_sl0ck! :D

ghost's avatar
ghost 18 years ago

thanks for the positive comments, everyone:D

ghost's avatar
ghost 18 years ago

great article ;)

I-O-W-A's avatar
I-O-W-A 18 years ago

nice article i been struggling with a server for ages (for some reason i cant get apache to work proply lol)

ghost's avatar
ghost 18 years ago

*to uber0n

Instead of ISS could i use Apache? Would it work ok?

ghost's avatar
ghost 18 years ago

very nice 5/5