PDA

View Full Version : Web server idea...


Bmxpunk86pl
02-03-02, 01:06 PM
Ok what if i would set up a web server on my PC and i had a static ip. Say that i would make my web site address be ex
http://192.168.0.5/index.html would i have to register it? (the 192.168.0.5 would be where i would put my read address.

Diggrr
02-03-02, 01:36 PM
Yes, first you have to purchase dns serving from a web provider, then you would have to register your domain (eg. www.bmxpunk.com) and provide the registrar with the info from your provider (dns address numbers).
You would also have to setup your home pc with server software.

When someone hits a webpage like www.google.com, the call goes first to a domain registrar to get the real address number. This tells your browser that google.com is located at address number http:/250.250.250.250/index.html.
The browser then calls this number on the internet and downloads the content of the page, but only shows the "google.com" address in the adddress bar.

This address forwarding is what your $35 per year gets you. The host provides the actual route from the internet to your computer.
After all of this, you also need to get server software. Windows can't serve webpages to the internet.

This is about all I know about serving. I've never done it.
Have fun!

Bmxpunk86pl
02-03-02, 06:37 PM
but a DNS translates ips into www.com crap right? but if im gonna use my ip address as the web page name, why do i need a DNS?

rogerdugans
02-03-02, 06:46 PM
It works. You can actually do it with dynamic ip as well, just that it will stop working if your ip changes.

I just uploaded a clients website to a new host that way since they haven't got their dns changed yet.

As said above though, you need webserver software: PWS in 98, etc is very insecure at best, and IIS is known for security bugs and instability, although with a lot of work and some maintenance it ain't too too bad, IMO.

Warlord2
02-03-02, 07:06 PM
what are some good webserver software? and are there any free software you can d/l?

rogerdugans
02-03-02, 07:10 PM
Not sure; I use IIS for work, Apache is common for Linux, and those are the only ones I know at all- I know there are more though.......Try Google:D

Fightingpiper
02-04-02, 12:26 AM
I used apache for our CS clan Stats page and it worked well until my laptop crapped out. If you have a Dynamic Ip use this free service http://www.no-ip.com. This way you can call your server somthing and also it automatically routes to your server if your IP has changed.
Also apache is supposedly a bit safer to use than the microsoft server.
here is a list of some more web redirects http://www.kvtek.com/ddnsServices.aspof

Cheers!