LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2006, 01:31 AM   #1
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Rep: Reputation: 30
Lightbulb Fedora Core 5 (web server)


Hello,

I am trying to configure web server and got a problem.
I followed these direction: stanton-finley.net (see Web Server for FC5)
I've got my domain name registered and mapped it with dyndns.com

I went through the manual but I get this error when I try to access my url: SERVER NOT FOUND
when i type //localhost it displays tomcat home page
I use SBC PAC BELL DSL with dynamic IP address

What have I done wrong?

Thanks!
 
Old 04-07-2006, 02:24 AM   #2
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Can you access other services on the machine, say SSH? Are you able to ping your DNS name? Some DDNS services require a 24-hour period to settle and be accessible (I have a DDNS web server too and is accessible through the name, on Fedora, by the way). You may need to open the ports in your firewall and/or set the necessary policies in SELinux.
 
Old 04-07-2006, 11:52 AM   #3
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
Hello,

Thanks for the reply.
How can I check if I can access SSH?
How do I ping my DNS? (ping XXX?)
I set up dyndns a while ago so there should not be a problem with it.
How can I open ports?

Thanks.
 
Old 04-07-2006, 02:10 PM   #4
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Check the ports with the system-config-securitylevel program (or access Dsktop-->Administration-->Security level and firewall, you should have the firewall up, see that WWW (HTTP) and secure WWW (HTTPS) are enabled (check SSH too if you want). You should be able to ping your domain name, like `ping penguin.homeip.net` or whatever you named your machine in dyndns, I gather you are running a deamon to keep your current IP updated on the dyndns database.
 
Old 04-08-2006, 05:11 PM   #5
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
Hello,

I just tried pining my domain name:
ping mydomain.homeip.net
This is what I get:


PING mydomain.homeip.net (71.142.66.78) 56(84) bytes of data.

--- mydomain.homeip.net ping statistics ---
35 packets transmitted, 0 received, 100% packet loss, time 34037ms

what's up with that?
Thanks!
 
Old 04-08-2006, 10:14 PM   #6
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
That means taht your domain name can't be resolved, maybe due to IP changed? Have you updated your IP on the dyndns database? Is it the same as the one you currently have? That is about the only thing I can think of.
 
Old 04-08-2006, 10:27 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
It looks like mydomain.homeip.net can be resolved (see the IP address in parenthesis in the ping results), but it can't be reached. Is that IP the correct one? Do you have a NAT router in front of your Web server? If so that may be the problem, since I know sometimes there are problems accessing sites on your home LAN (basically because you have to make a U-turn back to your own external IP address). Can you try accessing the site from somewhere outside your home LAN. If that works then you'll have to add the private IP of your Web server to /etc/hosts so it doesn't try to go to the outside world to fetch it.
 
Old 04-09-2006, 01:55 AM   #8
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
Hello,

thanks for input. I tried accessing my site outlide and it did not work.
I have read that some people say that I have to open ports. Could this be a problem?
How can I open them?

The is the content of my /etc/hosts file (just in case):
___________________________________
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
67.172.236.37 myDomainName.homeip.net myDomainName
_______________________________________

What is NAT?
I followed these direction: stanton-finley.net (see Web Server for FC5)
What I got confused with this:
The walk through says: "Do this for runlevel 3 as well as for runlevel 5. Reboot your machine."
When I go to services it displays: Editing Runlevel: 5
How do I do it for Runlevel 3?

I've got many questiong here (first time trying to set up a web server)
Thanks for the input!
 
Old 04-09-2006, 02:05 AM   #9
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
I just went to 192.168.0.1 and here is what I get:
IP Address 71.142.66.78
IP Gateway 151.164.184.89
DNS Servers 68.94.156.1 dnsr1.sbcglobal.net
206.13.28.12 dns1.snfcca.sbcglobal.net
Mode PPP on the modem (Public IP for LAN device)
Timeout Never
MAC Address 00:13:A3:18:400
Modem IP Address 192.168.0.1

I am not sure if this helps. Do I need to configure anything here?

Thanks!
 
Old 04-09-2006, 02:25 AM   #10
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
Hello again,
I've got some progress.
I disconnected my wireless router and connected modem directly to my desktop.
Now, when I go to http://mydomain.homeip.net it displays apache home page.
I have got public_html folder set permissions and put a dummy html page into it but cannot see it:
Error messsage:
______________
Not Found
The requested URL /index.html was not found on this server.
Apache/2.2.0 (Fedora) Server at www.mydomain.homeip.net Port 80
______________

Apache home pages says:
You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page, and not your content.
I put a dummy page into it and was able to see (finally) it!!!
Path:http://mydomain.homeip.net/testPage.html (works!)
but if I put www in front of it it does not work Why?
Also, instructions that I followed say to create public_html folder in: /home/myname
Seems that it is wrong.

Can you comment on what's happening.

Thanks.
 
Old 04-09-2006, 07:12 PM   #11
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
Any help on this?

Thanks
 
Old 04-09-2006, 10:08 PM   #12
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
one more thing.
I can only access my server within LAN and can't outside.
Do I have to open ports?
Any docs out there how to do it for Siemens Spead Strem 4100 ( I have Yahoo SBC DSL)
Many thanks!
 
Old 04-09-2006, 10:57 PM   #13
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
www is used with domain names, not subdomains. However, you can make them to work as they had www.
Runlevel is not a question. It only states that it will work in multiuser graphical mode and multiuser console mode too.
For public html to work, you must not be root. This should work for any other user by default. Read more in apache manual about userdir option.
Yes, you have to forward 80 port from your router to your computer.
Search google for docs. BTW, you should got them when you bought it.
 
Old 04-09-2006, 11:37 PM   #14
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
Thanks, I got public_html working
but I can't find info on how to foward ports
What do you mean htat I shoul've gotten them when I bought it????
thanks
 
Old 04-10-2006, 12:09 AM   #15
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
When you bought you router, documentation should have come with it. If you connect to the yahoo owned router, ask them for support.
 
  


Reply



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
Problem: Fedora Core 5 Web Server + Router thraldur Linux - Networking 10 04-10-2006 09:37 AM
new virtual web server - fedora core 2 - no acceptable C compiler dancingbear0420 Linux - Newbie 3 02-21-2006 01:40 PM
fedora core 3 web connection problem jameslewellen Linux - Software 4 07-27-2005 02:08 AM
web programs included in fedora core 2 brandnewbie Fedora - Installation 1 08-26-2004 09:52 PM
Any good Fedora core 2 web server install guide? alime Fedora 2 07-09-2004 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:52 AM.

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