Quote:
Originally Posted by 00trav 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)