LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-27-2009, 01:19 PM   #1
HazardMadison
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Question 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

Last edited by HazardMadison; 07-27-2009 at 04:11 PM. Reason: easyer to read
 
Old 07-27-2009, 01:21 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
If you have a router, you need to forward port 80 to your server.
 
Old 07-27-2009, 04:08 PM   #3
HazardMadison
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
i do not have a router
 
Old 07-27-2009, 08:01 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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...)
 
Old 07-27-2009, 10:01 PM   #5
HazardMadison
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 07-27-2009, 11:58 PM   #6
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
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
 
Old 07-28-2009, 12:09 AM   #7
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
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 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ie7 can't view my site over https tuxgirl Linux - Server 3 07-24-2009 01:52 PM
New to site, can't view poll results!? molkiecole LQ Suggestions & Feedback 12 02-07-2007 12:49 PM
How I can block a IP to view my web site?? AZIMBD03 Linux - Networking 6 02-26-2004 03:19 PM
View my site on network with url, not the local ip# neyoung Linux - Networking 3 02-02-2004 07:51 PM
How to view the web site hosted on win2k server which is a client machine? gogo Linux - Networking 10 10-19-2002 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration