LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 03-20-2004, 03:37 AM   #1
metoome
LQ Newbie
 
Registered: Mar 2004
Location: chennai
Distribution: Red hat 9
Posts: 15

Rep: Reputation: 0
Not able to view apache webpages


Hello all
I am usering Red Hat 9 , and i have a server
configured with apache.
my server's
/etc/hosts has

127.0.0.1 xyz-server localhost.localdomain
localhost
128.0.0.3 xyz-server xyz-server.mysite.com
xyz-server mail www

its ../httpd/httpd.conf file looks like
.
.
271 # redirections work in a sensible way.
272 #
273 ServerName xyz-server.mysite.com:80
274
275 #
276 # UseCanonicalName: Determines how Apache
constructs self-referencing
.
.
1039 # CustomLog
logs/dummy-host.example.com-access_log common
1040 #</VirtualHost>
1041 <VirtualHost *:90>
1042 DocumentRoot /home/sites/doondo
1043 DirectoryIndex index.php
1044 ServerName kaavi-server.mysite.com
1045 </VirtualHost>

i am able to connect to appace webserver (my
server m/c ) from other linux box on network,
when is use the IP address http://128.0.0.3:90
but when i user http://xyz-server:90 i am not able to
view the pages

i get an alert message saying “www.xyz-server.com not
found please check the name and try again”..

where is DNS not resolved is it server or in the other
linux box
Thank is advance...

__________________________________
 
Old 03-20-2004, 06:29 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Quote:

127.0.0.1 xyz-server localhost.localdomain localhost
128.0.0.3 xyz-server xyz-server.mysite.com xyz-server mail www
This is not correct, the xyz-server entry points to 127.0.0.1 AND 128.0.0.3. It should only point to 128.0.0.3.

The way you set it up, after the name resolving of xyz-server, it will always point to 127.0.0.1 (first hit) and never to 128.0.0.3.
 
Old 03-20-2004, 10:12 PM   #3
metoome
LQ Newbie
 
Registered: Mar 2004
Location: chennai
Distribution: Red hat 9
Posts: 15

Original Poster
Rep: Reputation: 0
yes i got it and thanks..
 
  


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
Cannot view javascript in webpages shaun85 Linux - Newbie 4 10-28-2004 04:50 PM
Can you view which webpages are currently running? linuxboy69 Linux - Software 1 10-28-2004 11:18 AM
unknown host trying to view webpages burglus Linux - Newbie 2 12-03-2003 01:01 PM
View webpages internally?? joealaska Linux - Networking 2 12-07-2002 06:37 PM
Cannot view webpages CragStar Linux From Scratch 2 04-28-2002 03:51 PM


All times are GMT -5. The time now is 02:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration