I want to host my website on my computer. I have tried to use dynamic ip software/ free services, but they do not work. I think it is because I am networked to another computer that connects to the internet. Any suggestions on what I can do?
Webhosting
Need...............more............info...........
Do you have a webserver running?
Can you hit it from localhost?
Do you have php going on it?
Have you run phpinfo() to make sure it works?
Have you trie using [url]http://computer_name?[/url]
???????
I have apache installed, localhost doesn't work, but 127.0.0.1 does. PHP does not work.
Yea a question I can help answer not get answered! Being a network admin not a programmer I have used this forum many times for help with my code. Tell me if I have this wrong!
It sounds like you are running a web server on one PC, and you are running a internet sharing program on the other so that it may connect to the web. This is where the headaches will begin for you. What program are you using to share you net connection? Is it the wonderful internet connection sharing that comes with windows? This Is what is going on regardless of what software you are using.
[Internt]
|
[PC with the internet acting as a router]
|
[Your server]
This is a bit of a lesson on networking; everything on a network uses a port. Think of it this way your IP address is your street address and the port is a door on your house. If you are trying to run a web server the port you need open by default is 80. Now the trick is getting your PC/Router to do port forwarding of port 90 to your server. This is easy in some and can’t be done in others. The best way to fix your issue is to buy a router. Then hook both computers to the router. Then run port forwarding or as I do DMZ (De-Militarized Zone) DMZ is the best way if you are going to host other things besides your web server. Well if you don’t want to by the router tell me how you are sharing your internet connection.
I use MS ICS. Yeah I know MS sucks.
Honestly your best bet is to pick up a router! My advice if you get one is to go Linksys or D-Link, don't go with Microsoft or Netgear. It might be about $10-$20 more but the money you will save in IBProfin will be worth it. This is what I do, My modem runs to the router then to my PC and my server, then use something like zone edit for your DNS there are programs that work with them to update your IP. The only downfall you will find is when your IP changes there will be a bit of a downtime even with the auto update they have. This is because zone edit updates their DNS server but it has the trickle down effect and will take some time. But this is your best option. Also if you go with Linksys as I did set up your server as the DMZ and then have the router keep the connection alive. This will help stop the IP from changing. The only downtime I get now is when my (select words) ISP goes down then I end up getting a new IP and this will have to deal with the tricke down effect. Good luck if you have any questions ask away!