LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-15-2003, 05:35 AM   #1
clanx
LQ Newbie
 
Registered: Feb 2003
Location: Somehere in the corner
Distribution: Slackware 8.1
Posts: 8

Rep: Reputation: 0
Apache Virtual Host Problem


I have and ADSL connection, dynamic IP and using free Zoneedit DNS at home. I'm hosting my own website http://www.hafizonline.net on the webserver using apache 1.3.28. Recently my friend need hosting temporary for his website, so I decide to host for him http://www.mycichlids.org.

I have define the vir host inside my apache httpd.conf and it works fine untill I discover this problem.

Sometimes when I want to visit www.hafizonline.net, it appears as www.mycichlids.org. and some of the images doesn't looks in place. Usually the first virtual host I define will be the problem, it always look into the document root for that virtual host although it suppose to point to other document root for another virtual host.

can anyone advise me. ? Thanks.

Below is my vhost conf.

NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#

<VirtualHost *:80>
ServerAdmin admin@mycichlids.org
DocumentRoot /home/mycichlids/public_html
ServerName mycichlids.org
ServerAlias www.mycichlids.org
ErrorLog logs/mycichlids.org
CustomLog logs/mycichlids.org common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin clanx@hafizonline.net
DocumentRoot /home/clanx/public_html
ServerName hafizonline.net
ServerAlias www.hafizonline.net
ErrorLog logs/hafizonline.net
CustomLog logs/hafizonline.net common
</VirtualHost>
 
Old 12-16-2003, 01:13 AM   #2
clanx
LQ Newbie
 
Registered: Feb 2003
Location: Somehere in the corner
Distribution: Slackware 8.1
Posts: 8

Original Poster
Rep: Reputation: 0
does anybody knows the problem ?

I really need a hand ..
 
Old 12-16-2003, 04:23 AM   #3
theparadigm
Member
 
Registered: Nov 2003
Location: Australia :)
Posts: 36

Rep: Reputation: 15
I'm guessing you've solved your problem on your own.
 
Old 01-07-2004, 02:36 AM   #4
clanx
LQ Newbie
 
Registered: Feb 2003
Location: Somehere in the corner
Distribution: Slackware 8.1
Posts: 8

Original Poster
Rep: Reputation: 0
update.
 
  


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 Virtual Host problem Seventh Linux - Software 2 03-19-2005 07:33 PM
Apache and Virtual Host Problem sekondborn Linux - Software 9 02-12-2005 03:26 PM
Apache virtual host problem Adrohak Linux - Software 3 07-18-2004 05:17 PM
Apache 2.0 Virtual Host Problem frankd99 Linux - Software 3 02-16-2004 01:23 PM
Virtual Host Problem using Apache ataber Linux - Newbie 2 01-27-2003 01:32 PM

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

All times are GMT -5. The time now is 05:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration