LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-17-2003, 01:27 AM   #1
DigiDave
LQ Newbie
 
Registered: Sep 2003
Posts: 22

Rep: Reputation: 15
Question New Virtual Servers Default to Default Server Page?


Help Please: I have configured Apache with one additional server and I have tryed everything under the sun to get my URL to point to the directory that I have set up on the server.

I have set up DNS through ZoneEdit and when I query the server with host www.myurl.com the ns and IP all show the correct directives but the url keeps getting the Default Web Server Apache page.

I followed the following link and tried their suggestions but to no aval. http://www.linuxquestions.org/questions/showthread.php?s=&threadid=36886&highlight=NS+resolves+to+default+virtual+server

Please help if you can find the time as I need to set this up and nce I have figured it out I will be able to add others.

RedHat 9.0 Apache 2.0

ThX

Last edited by DigiDave; 10-17-2003 at 01:10 PM.
 
Old 10-17-2003, 01:13 PM   #2
DigiDave
LQ Newbie
 
Registered: Sep 2003
Posts: 22

Original Poster
Rep: Reputation: 15
(BUMP) anyone out there who can offer some advice?
 
Old 10-17-2003, 04:22 PM   #3
notsoevil
Member
 
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
Post relevant sections of the httpd.conf file, please, particularly the VirtualHost sections.
 
Old 10-17-2003, 04:23 PM   #4
notsoevil
Member
 
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
Also, make sure you've restarted Apache after adding the VirtualHosts.
 
Old 10-18-2003, 04:23 AM   #5
DigiDave
LQ Newbie
 
Registered: Sep 2003
Posts: 22

Original Poster
Rep: Reputation: 15
This is what I get when I query the server using the host command.

[root@rockweb root]# host www.ravensbantamta.com
www.ravensbantamta.com has address 192.168.0.2
www.ravensbantamta.com has address 209.53.18.67
[root@rockweb root]# host -t ns www.ravensbantamta.com
[root@rockweb root]# host -t ns ravensbantamta.com
ravensbantamta.com name server ns12.zoneedit.com.
ravensbantamta.com name server ns19.zoneedit.com.

This is my httpd.conf file. I'm not sure what is relevent so here is the one Virtual web section that I have set up so far.
Let me know what other info you need.

<VirtualHost *:80>
DocumentRoot "/websites/ravensbantamta"
ServerName ravensbantamta.com
ServerAdmin johnsond@direct.ca
ServerAlias www.ravensbantamta.com
</VirtualHost>

Appreciate you looking at this.
 
  


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
apache web server default page link tuxrules Linux - Newbie 9 07-10-2004 06:22 PM
I cant change the default test page in apache server to add my page.y nhemapriya Linux - Newbie 3 05-13-2004 01:35 PM
This is the Plesk™ default page dpapala Linux - Newbie 0 05-07-2004 06:04 AM
setting default page size and default tray lived4eva Linux - General 1 11-04-2003 03:39 PM
Virtual Servers keep defaulting to Default Server comfig DigiDave Linux - Networking 10 10-21-2003 02:37 AM

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

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