LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Can only view my site from pc my server is on (https://www.linuxquestions.org/questions/linux-server-73/can-only-view-my-site-from-pc-my-server-is-on-743144/)

HazardMadison 07-27-2009 01:19 PM

Can only view my site from pc my server is on
 
so I'm new to linux and very new to servers. I installed LAMP on Ubuntu server edition (also have the gui version on top of that so i can use a web browser) using an online tutorial as a guide: found here. I got a domain from go daddy and with some more help on line got my domain name pointing at my ip. I can type my ip: 74.194.206.140, or my domain name: edubonzi.org, in the browser of my host computer and everything works fine. if one of my friends tries this they get some error message like "server timed out". i tried making my files public because i thought it may be some permission thing, i did this by editing the samba.conf file (more help from online). really wanting this to work out. any help would be awesome:)

repo 07-27-2009 01:21 PM

If you have a router, you need to forward port 80 to your server.

HazardMadison 07-27-2009 04:08 PM

i do not have a router

repo 07-27-2009 08:01 PM

Do you use a modem?
So the server has the public IP?
Does your provider block ports?
Several providers don't allow the use of servers, and block ports (25,22,21,80...)

HazardMadison 07-27-2009 10:01 PM

yes i have a cable modem i will check with my isp... but if so is there any way to get around that without buying a business plan from my isp?

kirukan 07-27-2009 11:58 PM

Even if your ISP block port 80 you can use some facility call DMZ and NAT at your broadband router. Once you configured these then you can access your web from outside

karamarisan 07-28-2009 12:09 AM

Check the config files for your webserver (presumably, apache) and make sure your firewall is allowing connections on that port as well.

Quote:

Originally Posted by HazardMadison (Post 3621975)
i tried making my files public because i thought it may be some permission thing, i did this by editing the samba.conf file (more help from online).

Surprised no one jumped on that - samba.conf, as the name implies, is the config file for samba, which is totally unrelated to this. You may want to undo whatever changes you made. Also, were this a permissions problem, your friends would be seeing 403s and 'Permission denied' pages; 'connection timed out' indicates that the TCP connection couldn't be established in the first place, meaning either apache isn't allowing it or something else (firewall, ISP, etc.) is blocking it and it never gets far enough for permissions to be relevant.


All times are GMT -5. The time now is 02:17 AM.