PDA

View Full Version : Quick Apache Install Problem


winrowc
2008-08-29, 11:41 PM CDT
I just got into linux and servers, as I am trying to setup a small one and I ran into some trouble recently. I have Verizon Fios with a static IP and I was following these (http://www.derekhildreth.com/blog/tutorial-setup-your-own-self-hosted-simple-web-server-for-free/) instructions for setting up a server. Everything went well with the port forwarding and I was able to check it with whatismyip.org and canyouseeme.org. However when I did one of the final steps of putting in my ip address in the browser, instead of seeing the Apache page, my router login page came up. That has only ever come up when i put in my routers ip address, not the static main one. I was confused because there didn't seem to be any errors when installing apache. Does this mean that it didn't install? Any suggestions of what I am missing here?

Thanks!

BenCollver2
2008-08-30, 06:17 AM CDT
I assume that you are forwarding a port from your router to your Linux machine on a private network. It is likely that it works fine for folks on the Internet but that the router will not allow you to access it from your private network. If that is true then use relative links and browse to your private address when at home.

If you want to verify that a page is viewable from the Internet then you might try running it through an on-line HTML validator.

marcrblevins
2008-08-30, 12:36 PM CDT
Try www.grc.com Shields Up! to see your ports that are open/closed.
BenCollver2 mentioned validator:
From my webpages, I use validator per page.

<p>
<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88"></a><a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"></a>
</p>

Try:
http://validator.w3.org

markkuk
2008-08-30, 02:44 PM CDT
However when I did one of the final steps of putting in my ip address in the browser, instead of seeing the Apache page, my router login page came up. That has only ever come up when i put in my routers ip address, not the static main one. I was confused because there didn't seem to be any errors when installing apache. Does this mean that it didn't install? Any suggestions of what I am missing here?

This has nothing to do with your Apache installation, it's a router setup problem. You should try accessing your IP address from a machine that's outside your LAN.

briantan
2008-08-30, 02:53 PM CDT
Either disable or assign non-80 port for router remote management.

Set up port 80 forwarding from router to your server ip address.