Go to Post FIRST encourages us to innovate and try new things, lets do the same for them. - Katie_UPS [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-08-2004, 01:00
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Dual sites on home server running apache?

ok, I've tried what Apache's website says and tried taking a copy of your config file, this is what I have and its not working
_____
NameVirtualHost 0.0.0.0

<virtualHost 0.0.0.0>
ServerName www.hollandalternativehsfirstrobotics.us
ServerAlias hollandalternativehsfirstrobotics.us *.hollandalternativehsfirstrobotics.us
DocumentRoot /halt/page1.html
</virtualHost>

_____

minus the horizontal lines. Any suggestions or help?
  #2   Spotlight this post!  
Unread 21-08-2004, 15:15
evulish's Avatar
evulish evulish is offline
1010100
AKA: Grant Harding
#0084 (WATTNESS (bot: Chuck))
Team Role: Alumni
 
Join Date: Jul 2002
Location: Towanda/Wysox, PA
Posts: 1,434
evulish is just really niceevulish is just really niceevulish is just really niceevulish is just really nice
Send a message via AIM to evulish
Re: Dual sites on home server running apache?

I have mine set up as follows:

Code:
NameVirtualHost *

<VirtualHost *>
ServerName www.mehh.net
DocumentRoot /web
</VirtualHost *>

<VirtualHost *>
ServerName amy.mehh.net
DocumentRoot /home/amy/public_html
</VirtualHost>
Which works just fine for me.
__________________
I'm a professional web developer. I'm good with PHP, Perl, Java/JSP, some RoR, XML, Javascript (AJAX as well), (x)HTML, CSS, etc.. Validated code is good; fully cross-browser code is better (you comply to your users and the software they use, not the other way around. Sorry!)
  #3   Spotlight this post!  
Unread 21-08-2004, 20:37
Matthew_H's Avatar
Matthew_H Matthew_H is offline
Ubergeek
#1028 (Ubergeeks)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Huntsville,AL
Posts: 105
Matthew_H will become famous soon enough
Send a message via AIM to Matthew_H Send a message via MSN to Matthew_H
Re: Dual sites on home server running apache?

Quote:
Originally Posted by evulish
I have mine set up as follows:

Code:
NameVirtualHost *

<VirtualHost *>
ServerName www.mehh.net
DocumentRoot /web
</VirtualHost *>

<VirtualHost *>
ServerName amy.mehh.net
DocumentRoot /home/amy/public_html
</VirtualHost>
Which works just fine for me.

It is important to use the * instead of 0.0.0.0. This allows apache to use the name instead of the IP address and since you don't have the ip address of 0.0.0.0 then that is why it is giving you some grief. You can PM if you have any problems. I had to fight with my apache directives a little until it worked just right.

Also in the ServerAlias section only have the *.hollandalternativehsfirstrobotics.us
__________________
Matthew

  #4   Spotlight this post!  
Unread 28-08-2004, 02:02
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Dual sites on home server running apache?

ok, I finally got my linking and virtual hosting corrected. you can now visit my site at mike-site.us and the newest Holland, Mi team's website at
hollandalternativehsfirstrobotics.us
I will be getting another URL shorter because as you can probably tell its a long URL to type.

Now I need Ideas as to what to add to the site and pictures of things our team is getting together. We are working on funding and sponsorship and already have our very large room in the old Holland EE Fell.

Anyone have any ideas ?
Closed Thread


Thread Tools
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
E-Mail Server Venkatesh IT / Communications 15 27-06-2005 01:47


All times are GMT -5. The time now is 09:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi