Can anyone tell me what I need to do to set up a webserver?

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
I am attempting to setup a webserver.

I am using Winxp. Have a router with broadband and a dynamic IP address.... but I think it stays the same anyway.

I want to have a simple server that will host images and music that I can point my auctions to. Well for now anyway.

Any help is greatly appreciated. I am trying VQserver, but cannot seem to get that to work. I think perhaps I am reading my routers IP address instead of my actual DSL/ISP address.

In the dark here....

Thanks
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
http://www.myipaddress.com/ will give you your correct up address. I personally use apache 1.3.something (apache.org) to do webhosting. Your isp may be blocking port 80, so if you cant get it to work with the correct ip address, try putting it on a different port.
 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
I have placed my mp3's in the designated file but cannot seem to figure out the url for them..?

When I type http://localhost I get my webpage.. so I think it is working.. but I just can't figure out how to see the URL for my files that I have added to my web items folder..?

I am trying to us XP's IIS.

Thanks for the help..
 

manly

Diamond Member
Jan 25, 2000
9,556
911
126
Are you sure you want to use IIS?

That much security is overkill for the average user. :)
 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
Yea.....security is kinda a big thing with me... I heard IIS was just the opposite...

But whatever works.

 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Yea.....security is kinda a big thing with me... I heard IIS was just the opposite...

I think he meant to say something along the lines of the amount of work required to keep IIS secure is usually too much for the average user.
 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
Thats what I am hearing...
Is there a VERY simple webserver software that will allow me to share a single file...?

Apache.. is supposed to be difficult to setup...

Looks like maybe I will have to put in the time and start learning. Damn... was hoping to get away with an EASY fix.

 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
Ok.... this points to a single file. I guess I need to paste all the mp3's, photo's into this file? I was hoping to have it point to a directory.
I am not sure how to place several different photo's, mp3's into a single Html file to allow them to be accessed from the net.
I think this may be designed to allow html pages to be accessed from the web. I still need to figure out how to host music and photo's.

Guess I will keep working on it till I figure it out.....

 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
Once I figure this out.. I am going to feel like such an idiot...

This is driving me nuts. I have my html page and I can view it when I type in http://localhost But I still cannot figure out where to put my photo's and music files so that I can view the URL's for them.

I am not sure this AnalogX program is going to let me do what I want.
 

vi edit

Elite Member
Super Moderator
Oct 28, 1999
61,710
6,059
126
I think I know what you want -

You want to be able to type in a link "http://www.myhomepage.com/mp3s/" and have it just show a page of all your mp3's with links to each of them that you can click on right?

If so - you need to have directory browsing. This is something that the web server does. It allows somebody to type in a "webpage"(which is actually a directory), and then view all items in that directory.

Here's how it works. Make a folder that you want to dump the files into. Dump the files into it. Tell the web server software to allow directory browsing on that folder. Make the web server "aware" of the directory's presence.

Now, all somebody should have to do is type in http://my.i.p.address/foldername/ and it should show all the files in that directory. It's a snap to do under IIS. By the looks of things, Simple WS doesn't support it. If you want to use IIS, I can help you set things up. If you have all the service packs and hot fixes, then it's not *too* unsecure.
 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
Ok...

Well I have Apache set up and working well. But now I have to deal with the dynamic IP problem on the WAN side of my router. My IP is changing all the time. Until I can sign up for a static IP.... I am going to try to use a servie like www.selfhost.com. But.... I am going to have to figure out how to tweak Apache so it will allow people to type in my URL at selfhost, and direct them to my server. I think that will be/mean changing my httpd.conf file in Apache.

Anyone know how to do that.... what to change in the httpd.conf file to redirect to the www.selfhost.com site? That way I believe I can work with my dynamic IP until I have it changed to a static IP.

Thanks for all the help so far.... I need it.

Also.... I still can't figure out where to put my photo's and music files. Do I just put them in the default folder for Apache, or add them to my webpage? I can now view my webpage when I click on http://localhost so I am getting "warmer"...:D

 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
I use dyndns.org.

servername is one of the settings you may have to change to your hostname (ie the one I get from dyndns.org). Thats the only place I see to change, but check through the file for any other places.
 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
Very cool NoCMonkey.... thanks.

When you say change the servername... you mean in Apache's httpd.conf file?

Imagine that I am Chezqloslovakian with very little knowledge of the English lanquage.....lol.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Cybordolphin
Very cool NoCMonkey.... thanks.

When you say change the servername... you mean in Apache's httpd.conf file?

Imagine that I am Chezqloslovakian with very little knowledge of the English lanquage.....lol.
:p

In httpd.conf, change the ServerName attribute from whatever the default is to your new domain name.

For example change:

ServerName foo.bar.com

To:

ServerName pics.for-ebay.com


Pretty simple, and it should work just fine :)
 

rUmX

Senior member
Feb 13, 2001
536
19
81
is it even possible to setup a webserver on a router? if your router is also a firewall then it should be quite more difficult. There should also be a DMZ setting that should allow that one computer hosting the webserver to open open on all ports
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: AznBoi36
is it even possible to setup a webserver on a router? if your router is also a firewall then it should be quite more difficult. There should also be a DMZ setting that should allow that one computer hosting the webserver to open open on all ports
Believe it or not, some routers run webservers on them :Q

But they arent meant for much. DMZ is basically useless if you want any security out of the NAT device (I think you mean NAT device, not really a router). Forwarding port 80 also works pretty well, unless the ISP blocks it.
 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
Ok....

I downloaded the client software and singed up at dyndns.org.

The client is supposed to update my IP address for me.

I went into Apache and edited the httpd.conf file. I changed my port to a different port than the default 80. All is well as when I type in my http://localhost:***(port number), I am able to view my webpage. I also changed the servername to the new web address created at dyndns.org..

Now.. I am still having a problem when I type in my web address into my browser. It still can't locate my website.

Hmmmmmmmmm wonder what I still need to do...? I did remember to restart my Apache.. I will try restarting the client software I downloaded from dyndns.org.
 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
Damn... still can't get it to work when I type in the web address in my browser.. :(

Any idea what I am doing wrong? Firewall problem? Router problem?

guess I could try bypassing my router (keep my software firewall on!)

 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
Hmmmm you mean the client may be sending my LAN IP and not my WAN IP...? Sheesh what good is it..lol.

I have it (my client software) set to "WebIP" detection. Should I change that to "LANIP" detection?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Cybordolphin
Hmmmm you mean the client may be sending my LAN IP and not my WAN IP...? Sheesh what good is it..lol.

I have it (my client software) set to "WebIP" detection. Should I change that to "LANIP" detection?
No clue, I havent used any Windows clients for dyndns.org. Try manually setting the ip address (your wan ip) through the web interface thing at dyndns.org to see if it works, then worry about the client software.

EDIT: Also, a software firewall may be blocking this. What software firewall are you running and is it allowing apache?
 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
The client software does ask if I am using a Proxy.. and what port, and name of the proxy. It also ask for an "offline" IP address.

Thanks for the help... I am so close I can taste it.. :p
 

Cybordolphin

Platinum Member
Oct 25, 1999
2,813
0
0
My IP address is correct at dyndns.org.. just checked it.

I compared it with WhatismyIP.com.

Turned off all of my software firewall... I feel so nakie....

I do see my webpage when I type http://localhost:***(my port setting)...

But still nothing when I type in my webaddress assigned at dyndns.org.

Turned off my client software... and nothin.

 

ASK THE COMMUNITY