Go to Post Hey, I know that kid.... wait he is my son! - Mike Martus [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 20-08-2004, 23:11
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?

Quote:
Originally Posted by Dave Flowerday
What you need is the NameVirtualHost directive. It will let Apache answer requests for both sites at the same IP address by looking at the URL which the browser sent. That way you won't even have to redirect people to your other site.

P.S. Another Holland-area team? Sweet!
Thanks, I beleive thats what i'm looking for. I'll be testing it in a minute to actually check it, just stopped by here to check for suggestions.

Yes, it is Another Holland-area team, basicly my family has been involved since I started back in '99 and we thought we would give another HS a chance, since they were left out of everything else.

Quote:
Originally Posted by Venkatesh
Also, that is some pretty substantial hardware firepower for running Apache. I have done a lot of performance testing with Apache for Windows and IIS 5.0. Barring heavy CGI/dynamic work, that server of yours will be able to handle an incredible load. On a Pentium 166mhz, 64MB ram, 4gb hard disk, I was able to handle 9 requests/sec under Apache 1.3.31, 414 requests/sec with Apache 2.0.50, and 434 with IIS 5.1, with a static, 1kb text page. Yes, that massive jump from Apache 1.3.31 to 2.0.50 is correct. The numbers here are averages of 8 trials, with the cache cleared between trials. I got that system to stay up for a maximum of 129 days, before lightning took out the power here.
I originally built the system to be used as a dial-up ISP, but after getting everything setup and finding a sDSL provider I found out the equipment to actually do it (the dial-up isp part)was a little too expensive for me. So instead I decided to put it to use with websites. This is also a computer which I store backups of music and videos. Between my 4 computers I have nearly 1/2 TB but plan to put an additional 1-2 on my server. I would kinda like to help as a backup for soap's files, err a mirror if I can get it setup with them. I would easily have the processor power, and after I upgrade my sDSL one step I'll have the bandwidth. I havent tested my server as to what it'll do on apache but i'm sure it would be fairly good.

Thanks for the info.
  #2   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?
  #3   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!)
  #4   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

  #5   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