Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 9th, 2002, 10:47 AM
skeasor skeasor is offline
Masked Chicken
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 54 skeasor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 57 m 52 sec
Reputation Power: 8
Send a message via AIM to skeasor
Using 2 domains...

Hi.

when running two domains with the virtual host command, do I need to seperate virtual host tags like :

<VirtualHost my.ip.address>
ServerAdmin me@mydomain1.com
DocumentRoot /var/www
</virtualhost>

<virtualhost my.ip.address>
ServerAdmin me@mydomain2.comDocumentRoot /var/www/mydomain2.com

</virtualhost>

Thanks,
Skeasor
__________________
____________
Thanks,
Skeasor

Got Debian Linux?
www.debian.org

Reply With Quote
  #2  
Old January 9th, 2002, 01:17 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You forgot the most critical directive - ServerName.

Reply With Quote
  #3  
Old January 9th, 2002, 08:53 PM
skeasor skeasor is offline
Masked Chicken
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 54 skeasor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 57 m 52 sec
Reputation Power: 8
Send a message via AIM to skeasor
example...

Well,
I was just giving a short little example. Is that how it should be though by using 2 virtual host tags ?

Thanks,
Skeasor

Reply With Quote
  #4  
Old January 9th, 2002, 10:24 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> Is that how it should be

To use <VirtualHost>, the two minimum directives within <VirtualHost> are:

ServerName
DocumentRoot

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Using 2 domains...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT