Problem when hosting myself

They have: 5,633 posts

Joined: Jan 1970

I installed Apache , PHP and MySQL. It works when I go to it and everything works. It can connect to the MySQL database , PHP info works and I can do lots more. The main problem I am having is this.

I connect to the internet through another computer. So my ip is http://192.168.0.4 but the main computers is different. My problem is that only I can get to my stuff! not other people. Anyone can help me?

I know get a host. lol. I have a paid one but I want this to be able to work on PHP scripts and stuff. Sure I can do that now but I would have to keep to myself. Sticking out tongue Sad

nike_guy_man's picture

They have: 840 posts

Joined: Sep 2000

Do you have a router?
You will need to forward port 80 to 192.168.0.4
Then find the IP of the main computer and that's how others will get there, if your ISP doesn't block port 80

Laughing out loud

They have: 33 posts

Joined: Oct 2003

What nike_guy_man says is correct..

but also your IP address 192.168.0.4 is also internal (non internet IP address) are you trying to access the website from your internal network or from Internet to your house.

The address that you should be using to access your computer from the Internet is the default gateway of your internet connection from home.

provide a bit more detail like...
on web server can see web site
on my 2nd home computer can/can't see web site
have router?
etc and we can help you out much more.

James

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Instead of giving them the 192.160.*.* IP, give them the real IP.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.