To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Tools > Misc Tools

Misc Tools Discussion regarding tools that don't have their own forum.

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-01-2003, 10:23 PM   #1
spritelhs
Junior Member
 
Join Date: Sep 2003
Posts: 4
Webhosting

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?
spritelhs is offline   Reply With Quote
Old 10-02-2003, 02:27 AM   #2
LordShryku
kung foo code monkey
 
LordShryku's Avatar
 
Join Date: Aug 2002
Location: Occupational Hypnotherapy
Posts: 7,473
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 http://computer_name?

???????
LordShryku is offline   Reply With Quote
Old 10-02-2003, 10:54 PM   #3
spritelhs
Junior Member
 
Join Date: Sep 2003
Posts: 4
I have apache installed, localhost doesn't work, but 127.0.0.1 does. PHP does not work.
spritelhs is offline   Reply With Quote
Old 10-05-2003, 01:19 AM   #4
TGLMan
Junior Member
 
TGLMan's Avatar
 
Join Date: Sep 2003
Location: NH, USA
Posts: 19
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.
__________________
Why did I go to school for Network Engineering if I am doing nothing but PHP/MySQL now?

Last edited by TGLMan; 10-05-2003 at 01:29 AM.
TGLMan is offline   Reply With Quote
Old 10-05-2003, 03:59 PM   #5
spritelhs
Junior Member
 
Join Date: Sep 2003
Posts: 4
I use MS ICS. Yeah I know MS sucks.
spritelhs is offline   Reply With Quote
Old 10-06-2003, 02:35 AM   #6
TGLMan
Junior Member
 
TGLMan's Avatar
 
Join Date: Sep 2003
Location: NH, USA
Posts: 19
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!
__________________
Why did I go to school for Network Engineering if I am doing nothing but PHP/MySQL now?
TGLMan is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 08:09 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.