LinuxQuestions.org
Help answer threads with 0 replies.
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 01-31-2005, 12:24 PM   #1
Raggit
Member
 
Registered: Oct 2003
Location: N.C USA
Distribution: Fedora Core 4
Posts: 65

Rep: Reputation: 15
Apache Default web - Vhosts not working??


I have fedora core 3 installed with apache.
I start apache using service httpd start
I have one index.html file in the /var/www/html and that appears to be the only directory apache is looking in for webpages.

I've setup my vhosts like such


Code:
NameVirtualHost xx.xx.xxyy.xxyy:80

<VirtualHost xx.xx.xxyy.xxyy:80>
    ServerAdmin me@dodgeit.com
    DocumentRoot /www/crispybacon
    ServerName www.mysite.servebeer.com
   # ErrorLog /www/logs/digitalquest.log

</VirtualHost>

<VirtualHost xx.xx.xxyy.xxyy:80>
   ServerAdmin me@dodgeit.com
   DocumentRoot /www/crispybacon
   ServerName mysite.servebeer.com
  # ErrorLog /www/logs/digitalquest.log

</VirtualHost>
My problem is this, the default site displays no matter which site i use.
I use no-ip to forward to my machines, so when i goto http://mysite.sytes.net i see the index.html file that is in /var/www/html and when i goto http://mysite.servebeer.com I see the same html file. I thought with the vhosts I should see the other directory of /www/crispybacon?
 
Old 02-04-2005, 03:34 PM   #2
Raggit
Member
 
Registered: Oct 2003
Location: N.C USA
Distribution: Fedora Core 4
Posts: 65

Original Poster
Rep: Reputation: 15
*bump
 
  


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
changing the default file apache web server looks for gsgleason Linux - Software 3 11-18-2005 01:31 PM
DISCUSSION: Using Windows Directories for Default Apache 2 Web Site RavenLX LinuxAnswers Discussion 0 02-09-2005 01:59 PM
How To: Use Windows Partition for Default Apache 2 Web Site RavenLX Linux - Networking 0 01-18-2005 02:41 PM
apache web server default page link tuxrules Linux - Newbie 9 07-10-2004 06:22 PM
restoring apache, web not working wog Linux - Software 2 05-01-2004 06:41 PM

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

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