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 10-03-2004, 09:23 PM   #1
startac8000
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
Apache 2.0.52 help!!


Hi,

I am trying to install apache 2.0.52 on my Mandrake 10.1 distribution

This is what i did:
./configure --prefix=/usr/local/apache
make
make install
cd /usr/local/apache/bin/apachectl start
----------------------------------------------------------------------------
I get the default page saying my server was correctly installed
But now i want to setup my personal page
-----------------------------------------------------------------------------
I change httpd.conf file with the following:
Listen 80

ServerName fakedomain.com:80

DocumentRoot "/home/user/www"

Directory "/home/user/www"

NameVirtualHost fakedomain.com:80

<VirtualHost fakedomain.com:80>
ServerAdmin webmaster@fakedomain.com
DocumentRoot /home/user/www
ServerName fakedomain.com
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
----------------------------------------------------------------------------------------------
I then create a simple index.html @ /home/user/www
and then tried to access it through a web browser by going to
fakedomain.com

I had no luck accessing index.html the browser just time out

your help is greatly appreciated
 
Old 10-04-2004, 12:41 PM   #2
shubb
Member
 
Registered: Oct 2003
Location: San Francisco
Distribution: Slackware 13.37
Posts: 150

Rep: Reputation: 16
First of all, you should not need to create a VirtualHost if you have only 1 domain on the server.

Second, do you have a DNS entry that points fakedomain.com to that server's IP address?

Last edited by shubb; 10-04-2004 at 12:43 PM.
 
Old 10-04-2004, 01:21 PM   #3
startac8000
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I have a DNS entry that points to my domain name

And i have tried without a virtualhost and still no sucess
 
Old 10-04-2004, 01:28 PM   #4
dimc
LQ Newbie
 
Registered: Oct 2004
Posts: 4

Rep: Reputation: 0
not too difficult

Make sure that:

1- when u ping www.sitename.com it does
2- Dns entries are propagated (also test in dnsreport.com )
3- "/home/user/www" has 775 permission
 
Old 10-06-2004, 08:17 PM   #5
startac8000
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
When i ping my domain name it goes through no problem

But when i did a dns report @ dnsreport.com

i get All Nameserver respond fail:

ERROR: Some of your nameservers listed at the parent nameservers did not respond. The ones that did not respond are:

69.10.134.195


Note: If you are running a Watchguard Firebox with DNS Proxy enabled, there may be a bug causing port numbers get mixed up -- if this is the case, you can contact Watchguard to see if they have a fix.

I tried to ping that NS with sucess.


I would like to mention that i have apache 2.0.52 installed on windows XP and it works fine.
that means that the DNS and NS are configured correctly.What i am trying to do right now is
migrate everything to Linux.

Also how do i give /usr/user/www 777 permission??

Thanks for you help
 
  


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
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 07:28 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

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

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