Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hosting Web site on my machine - have Static IP 1

Status
Not open for further replies.

lrehotmail

Programmer
Nov 18, 2002
15
AU
Hi All,

I'd like to host my web site on my local machine (it's not a commercial web site, just my exercise). I have a static IP with ADSL. I know my IP address (off course :) ), Primary and Secondary DNSs. I use a router with (I don't know the information I'm going to give here is needed or not) built-in firewall, NAT, DoS, DDoS, Secure encryoted VPN and DHCP server.

My web server is connected to a hub, which connected to the router. All internal IP addresses for each of my machines were assigned by the DHCP from the router.

Is there anyone could kindly give me some advise where I can get start, that would be very very appreciated.

Currently, I could PING my router and access my Router Configuration. But I'd like to know how to redirect the HTTP requests to my local Web server (using the IP address).

Another question - would the HTTP request behind my router can access my web site by enter the IP address of my router?



Thanks in advance.
:)
 
I read this thread --> thread41-700690 is very helpfull. I think I need information of how to open the 80 port and redirect all HTTP incoming through port 80 to the destination machine.

Who can give me more information - please.

Thanks in advance.
 
Hello...

Well, you are right on what you have to do to make it happen. This is the same configuration I have to run a testing server locally where my workstations are at. I have set up port routes on my router that basically say "if traffic is on port #xx then forward to IP #xxx.xxx.x.x". Pretty simple to set up, but each router is different in how it is done, or whether it can be done at all. The best place for that information will be the manufactures website. Also, I did want to mention a couple of things that may stop this from working for you. 1) Check with your ISP on whether they will allow incoming traffic on port 80. In my case, the ISP blocks incoming traffic on port 80 so residential customers can not run web servers from their house. I have found a way around this by having a DNS server forward that traffic to an alternate port number. Not real good for a commercial site, but like I said, I just use it for testing purposes. 2) If I understood your first post correctly, you are using the DHCP functionality from the router. If this is the case, this will not work for you because the port route will not know which IP to go to because it is different every time. To get around this, I would suggest using assigned IP addresses that correspond to your router. Most routers are capable of running class c assigned IP addresses.....usually something along the lines of 192.168.1.2 to 192.168.1.254. You can just set your default gateway as the routers IP and then keep using the same DNS settings. That way when you set up your port routes, the router will know exactly which machine to go to based on its IP address, that will not get reassigned at any point.

Well, hope some of that helped!

-Jason
 
thanks a lot.
Wow, that's why - DHCP!!! :)
OK - after I changed to static IP on my router, it works just fine.

more - for SMTP in Wins2K. I could make it as a out-going mail server with <cfmail> tag. But I don't know how to make a real mail server where I can create e-mail account, etc. Any software require? such as Eudora, is it free ? :)

I got lots of questions like this because I'm not come from infrastructure, but developer. And it's my long holiday, I only want to learn something new.

Thanks in advance for anyone could help me.

Thanks again, Jason
 
Hello...

Sorry I did not get to you right away, it’s just been crazy on my end.....Anyways, there are a lot of options to you as far as mail servers go. And there are also lots of options that you can implement for free. One good place to find free mail servers is the download section at One of the free mail servers I have used from there is the ArGo Mail Server. It is &quot;really&quot; basic and doesn’t do much at all, but I have found it was super simple to set up, and it seems to work very well. You can find that one at But like I said, that one is very simple.....If you are looking for something more advanced, I would start at the CNet site. Even some of the ones that are not free, you can find for really cheap!

Anyways...Hope some of that helps!

-Jason
 
Many thanks, mate :)

I downloaded it and installed. It should be ok for me to get start.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top