There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display driver drivers email error excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop lcd linux malware network networking nvidia outlook outlook 2003 outlook express partition printer problem ram router slow sound sprtcmd.exe trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
[Help] Setting Up A Live Web Server


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
DippiProductions's Avatar
Junior Member with 3 posts.
 
Join Date: Jul 2008
09-Jul-2008, 02:25 PM #1
[Help] Setting Up A Live Web Server
Hello, iv recently made a website, and i was wondering how to set it up onto a seb server. i have a windowns xp computer with apache installed and configured. apache works on MY network at the minute, but i was wondering if someone could write me a specific tutorial to how to set it up to the World Wide Web. I am using a D-Link DSL 604 router.

I would love to hear from you all shortly

Thanks

p.s i am familiar with quite a few options in the router menu, so you can be a bit complicated if you want =)

Last edited by DippiProductions : 09-Jul-2008 02:31 PM.
cpscdave's Avatar
Senior Member with 281 posts.
 
Join Date: Feb 2004
Experience: Intermediate
09-Jul-2008, 03:14 PM #2
Do you have a static IP from your ISP?
namenotfound's Avatar
Computer Specs
Distinguished Member with 2,197 posts.
 
Join Date: Apr 2005
Location: New York
Experience: I know what I know, I am
09-Jul-2008, 03:16 PM #3
Also, make sure having a webserver is ok with your ISP.
00trav's Avatar
Computer Specs
Senior Member with 172 posts.
 
Join Date: Sep 2007
Experience: Advanced (in certain area
09-Jul-2008, 03:20 PM #4
First off, I would highly recommend rethinking running a server off your personal PC. There are some serious security issues you will have to deal with, not to mention just cpu usage and bandwidth issues.
as far as running on the internet here goes my tutorial.
1). you will need a domain name:
a) you will need to purchase a domain name and then configure it to point to your IP address (of the router not your computer). unfortunately unless you have an ISP that provides you with a dedicated IP you will not keep your same IP and will end up pointing to the wrong IP. The best solution is DDNS, or dynamic DNS, which is a small program that runs that detects your IP and changes it on a DDNS server.
2) you will need to set a static IP for your computer the webserver is running on. To do this, if you need help with this, let me know. just make sure that the ip address you give the computer is outside the range of the dynamic IP that the router gives out.
Example: in the router setting under DHCP you will find something like, 192. 168.0.()
and setting for maximum number of clients like 50. so your ip range is 192.168.0.1 - 192.168.0.51, your best bet is to make the static like 192.168.0.200

3) you will need to forward the TCP port 80 (which is what website usually are on) from the internet through your router to your computer that is hosting your site. to do this go into the dlink settings, go to forwarding, and then add a rule where all WAN traffic requesting port 80 is forwarded to the static IP you set up in part 2. you can test this without a domain by searching on google for "what is my IP address" and going to that site to determine what your non-LAN IP address is. then enter that address in your browser and if you set up the forwarding correctly it will show your website.

hope this helps.
DippiProductions's Avatar
Junior Member with 3 posts.
 
Join Date: Jul 2008
09-Jul-2008, 05:17 PM #5
Quote:
Originally Posted by 00trav View Post
First off, I would highly recommend rethinking running a server off your personal PC. There are some serious security issues you will have to deal with, not to mention just cpu usage and bandwidth issues.
as far as running on the internet here goes my tutorial.
1). you will need a domain name:
a) you will need to purchase a domain name and then configure it to point to your IP address (of the router not your computer). unfortunately unless you have an ISP that provides you with a dedicated IP you will not keep your same IP and will end up pointing to the wrong IP. The best solution is DDNS, or dynamic DNS, which is a small program that runs that detects your IP and changes it on a DDNS server.
2) you will need to set a static IP for your computer the webserver is running on. To do this, if you need help with this, let me know. just make sure that the ip address you give the computer is outside the range of the dynamic IP that the router gives out.
Example: in the router setting under DHCP you will find something like, 192. 168.0.()
and setting for maximum number of clients like 50. so your ip range is 192.168.0.1 - 192.168.0.51, your best bet is to make the static like 192.168.0.200

3) you will need to forward the TCP port 80 (which is what website usually are on) from the internet through your router to your computer that is hosting your site. to do this go into the dlink settings, go to forwarding, and then add a rule where all WAN traffic requesting port 80 is forwarded to the static IP you set up in part 2. you can test this without a domain by searching on google for "what is my IP address" and going to that site to determine what your non-LAN IP address is. then enter that address in your browser and if you set up the forwarding correctly it will show your website.

hope this helps.
thanks, it helped alot, but now im havking a problem with firewall settings.
my network admin says to look up "DMZ Firewall Rules" can anyone help with this?
any help is appreciated (i duno how to spell it lol)
00trav's Avatar
Computer Specs
Senior Member with 172 posts.
 
Join Date: Sep 2007
Experience: Advanced (in certain area
09-Jul-2008, 05:44 PM #6
first - are you talking about your personal firewall on your computer, or your router firewall.
I don't think you are going to want to bypass your router firewall. DMZ is where the firewall is bypassed all together and your computer will be completely exposed to the internet on all ports (BAD IDEA).
when you log into the dlink router, go to the advanced tab on the top, then click on virtual server on the left. you will see a list, click on http vitual server edit icon (next to the trash can icon). the text boxs at the top should have changed. make sure its port 80, and enter the static IP of your webserver for the lan (192.168.0.200), then make sure the radio button on teh top is set to enable. then save the settings.

should work...
MMJ's Avatar
MMJ MMJ is offline
Distinguished Member with 3,250 posts.
 
Join Date: Oct 2006
10-Jul-2008, 12:01 PM #7
Check out no-ip.com.

It gives you a free subdomain so if your IP isn't static it doesn't matter.
00trav's Avatar
Computer Specs
Senior Member with 172 posts.
 
Join Date: Sep 2007
Experience: Advanced (in certain area
10-Jul-2008, 08:21 PM #8
to clarify, no-ip.com is a dynamic dns service provider. That would be what you need if you don't have a static IP from your ISP. I have heard good things about them as well.
DippiProductions's Avatar
Junior Member with 3 posts.
 
Join Date: Jul 2008
11-Jul-2008, 12:16 PM #9
ok, so i got that far oand now my server is up and running! but the problem is i have a dynamic ip address, therefore i cant get a domain.
does anyone know where i can buy a static ip?
iv heard of the site no-ip.com
ill go check it out and have a look
thaynks for your help
00trav's Avatar
Computer Specs
Senior Member with 172 posts.
 
Join Date: Sep 2007
Experience: Advanced (in certain area
11-Jul-2008, 01:13 PM #10
I wouldn't bother with a static IP, just get a DDNS service like no-ip.com, or search google for Dynamic DNS or DDNS and you will find a bunch of free services.
Typically it will install a small program on your server, or some higher end routers can support a DDNS service.
Closed Thread

Tags
d-link, router, server, web, www

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:50 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.