Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Unable to view my Servers (Linux 7) www Pages, I am unable to view my html or web directory on my server.
mhauth
post Nov 15 2007, 07:17 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 15-November 07
Member No.: 13,138



This is a strange problem for me at least.

OS: Fedora 7
IP:192.168.0.25
Router - Linksys WRTG54G
Dydns.org forwarding - evolutionofgolf.selfip.com

I can connect from my desktop via ssh and run commands but from the same computer I can't go to www.evolutionofgolf.selfip.com or on my LAN http://192.168.0.25

I had fedora 8 such as being able to see my www folder or the apache welcome page. And I know others could see it from the web. Thats why I know it has to be the server settings at least I think

Thanks for any help.

Matt
Go to the top of the page
 
+Quote Post
matt
post Nov 16 2007, 08:43 AM
Post #2


./configure
***

Group: Members
Posts: 104
Joined: 8-April 05
From: St John's Newfoundland
Member No.: 4,844



Check within firefox to see if http://localhost brings up your website.
If not Apache isn't running and you may have to start the server.

If you don't have apache from the terminal.

# yum install httpd

To start apache

# chkconfig httpd on
# /etc/init.d/httpd start

As well you may want to verify port 80 is Open.

# netstat -tulpn | grep :80

BUT Most importantly make sure 80, 443 and any other imp ports like 22
if your using ssh over the net are properly forwarded through your router
to 192.168.0.25. Its under applications on the wrt router... But im not sure.
I modded mine with OpenWRT firmware so i could just use Iptables to do the work
but thats another story.

Hope i'm some help

Matt


--------------------
INTEL Q6600 Quad Core @2.8
Evga Geforce 8800GT SSC Ed 512
ASUS P5N32-E SLI Deluxe
4G DDR2 - 1 750 Gig HDS
Distro - Slackware-Current / KDE4 / Window Xp MC
---------------------------------------
Distro - Slackware 12 MythTV Box
AMD Athlon 64 3500+
1024 Megs of DDR400
200G HD
Nvidia 8400 GT
Leadtech Winfast TV2000 Tuner
Antec NSK2480 Media Center Case
--------------------------------------
Linux User #384299
Go to the top of the page
 
+Quote Post
mhauth
post Nov 16 2007, 01:20 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 15-November 07
Member No.: 13,138



[root@localhost ~]# yum install httpd
fedora 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.3 kB 00:00
primary.sqlite.bz2 100% |=========================| 1.9 MB 00:02
Setting up Install Process
Parsing package install arguments
Package httpd - 2.2.6-1.fc7.i386 is already installed.
Nothing to do
[root@localhost ~]# chkconfig httpd on
[root@localhost ~]# /etc/init.d/httpd start
Starting httpd:
[root@localhost ~]# netstat -tulpn | grep :80
tcp 0 0 :::80 :::* LISTEN 3174/httpd
[root@localhost ~]#

Thanks for the suggestion.


I then went and made sure ports 22, 80 and 443 were forwarded. Still nothing... hmm...

could it be how I have my /etc/hosts file set up?

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.25 evolutionofgolf.selfip.com matts-server
::1 localhost6.localdomain6 localhost6

Thanks in advance!

Matt
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 05:41 PM