Jump to content

Recommended Posts

Hello all,

 

Little bit of a rookie question here, but I'll ask anyway

 

I'm developing a PHP page under Apache on my local machine. I navigate to my page by going to: http://localhost/ or http://127.0.0.1

 

However... if I go to my modem/router (i have an all-in-one) and get my exeternal IP (alternatively I can get from ipchicken.com, etc.) and try navigating to that by doing: http://<my-external-ip>/ then I do not get my webpage! Instead, my router's splash page comes up.

 

What am I doing wrong? Are there settings in Apache where I need to allow it to be viewable by public?

 

Thanks

 

After the port forwarding, you may still get your router's splash page. That's only because you're accessing it locally (and the router has detected that) - people outside your network will see the website normally.

Ah, he went offline.

 

It's a router thing. Look around on the router's "site" for stuff to do with port forwarding. If you can't find anything, or don't understand what you found, ask Google for advice.

Also note that if you get this working, you may be violating your ISP's customer agreement.  Generally they don't allow the customers on "residential" connections to run a web server.

 

-Dan

 

On that note, most ISP's block port 80 inbound anyway.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.