|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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
|
|||||
|
|||||
|
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> |
|
#3
|
||||
|
||||
|
Re: Dual sites on home server running apache?
Quote:
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 |
|
#4
|
||||
|
||||
|
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 ? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| E-Mail Server | Venkatesh | IT / Communications | 15 | 27-06-2005 01:47 |