LinuxQuestions.org
Help answer threads with 0 replies.
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-02-2003, 07:49 AM   #1
gbg
Member
 
Registered: Aug 2003
Location: Lisbon Portugal
Distribution: Red Hat 9
Posts: 55

Rep: Reputation: 15
Apache Virtual Hosts


Hello! I have configured several Virtual Hosts for apache httpd.conf. My main question is, that i have configured for NameVirtualHost a wildcard (*) because i have a dynamic IP Adress. Because the precedence of apache, al domains I try to get, always show the 1rst configured on VirtualHost. Any ideias to solve this question? Thank you very much for your time!
 
Old 10-02-2003, 07:58 AM   #2
BeerBust
LQ Newbie
 
Registered: Sep 2003
Location: Copenhagen, Denmark
Distribution: RH9 & 7.2
Posts: 5

Rep: Reputation: 0
Hi

If I understand U correctly the first configured virualdomain always shows, no matter what (local)domain U type in UR browser??
And U only have 1 public IP at your disposal??

Only solution (to my knowledge) are the use of port asignments. That is done by specifying what port the domain should listen on like this :
# Virtual host
<VirtualHost <YOUR-IPADDR>:<THEPORT>>
DocumentRoot..... and all the trivial stuff.

normaly <THEPORT> would be a * sign.

Over'n'out
BeerBust
 
Old 10-02-2003, 08:14 AM   #3
gbg
Member
 
Registered: Aug 2003
Location: Lisbon Portugal
Distribution: Red Hat 9
Posts: 55

Original Poster
Rep: Reputation: 15
as I described upper... " i have configured for NameVirtualHost a wildcard (*) because i have a dynamic IP Adress. " . thank you anyway
 
Old 10-02-2003, 08:26 AM   #4
BeerBust
LQ Newbie
 
Registered: Sep 2003
Location: Copenhagen, Denmark
Distribution: RH9 & 7.2
Posts: 5

Rep: Reputation: 0
Hi

Sorry didnt see the word "dynamic"

Just wondering : your DNS points to what? If you have a dynamic IP it's a bit hard to make public DNS work..?



/BeerBust
 
Old 10-02-2003, 08:35 AM   #5
gbg
Member
 
Registered: Aug 2003
Location: Lisbon Portugal
Distribution: Red Hat 9
Posts: 55

Original Poster
Rep: Reputation: 15
I'm running a dynamic update software. when the IP changes, the DNS hosting company changes the IP!
 
  


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
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
Apache/Virtual Hosts Help C-Squared Linux - General 9 08-04-2003 12:45 PM
Apache Virtual Hosts (again) scatcat Linux - General 1 10-17-2002 09:51 AM
Apache: Virtual hosts pk21 Linux - Software 15 10-08-2002 05:08 PM
apache virtual hosts jonfa Linux - General 1 06-04-2002 01:50 AM

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

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