LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-07-2014, 06:47 PM   #1
yandos
LQ Newbie
 
Registered: Nov 2008
Posts: 7

Rep: Reputation: 0
Question Cannot access websites on apache from outside the server


Hi,
I have a debian 7.5 based Ubuntu server.
It's a rather vanilla installed XAMP used as a basic web server.
It used to work fine and I have no idea why it stopped working suddenly (there was some maintenance today but it worked when I left it - I changed partition sizes with Gparted).

When I try to access a website from the server (tried with w3m) all is working OK, including PHP and mySql access.

When I try to access the same host (using a domain) from the outside, the browser keeps loading for a long while, eventually (after few minutes) saying the page could not be loaded.

I made sure that ports are open and accessible with outside scanner.

So I'm sure the Apache is available (working from inside the network, websites loading from SSH using w3M and pinging)
I'm sure the server is connected to the web (I can use putty to SSH)
the host is resolving to the correct IP (but won't ping from outside, only inside)
The ports seems to be opened (scanned and got OK for port 80)

I'm not a very experienced user so I ran out of ideas, would really appreciate any idea or direction.
Thanks!
 
Old 08-08-2014, 06:39 AM   #2
bloodstreetboy
Member
 
Registered: May 2012
Posts: 201
Blog Entries: 3

Rep: Reputation: 37
Are you sure the 'Allow attribute' has been set for outside LAN? In this case, you will get forbidden error.
Are you getting connection Time out error?
 
Old 08-11-2014, 10:03 AM   #3
linuxfreakz
LQ Newbie
 
Registered: Jul 2014
Location: Karachi
Distribution: Ubuntu
Posts: 10

Rep: Reputation: Disabled
Cannot access websites on apache from outside the server

please check your servers selinux setting and also copy your servers http error file.
 
  


Reply

Tags
debian, linux, xampp



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
Access control multiple websites on Ubuntu Server 12.04 lightningrod66 Linux - Server 3 05-13-2012 11:23 PM
Giving individual users editing rights for websites using Apache Server aakash Linux - General 1 05-26-2005 01:41 PM
Forbidden access to apache server wisdom Linux - Software 2 12-25-2004 09:29 PM
ISA, websites on apache and linux server, publishing... marvc Linux - Security 4 07-10-2003 05:12 PM
Setup linux-apache server to access documents on NT server josephswagner Linux - Software 11 04-11-2003 08:35 AM

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

All times are GMT -5. The time now is 03:11 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