[ale] Back to needing direction on virtual hosts again. :(
Warren Myers
volcimaster at gmail.com
Thu Apr 26 09:21:10 EDT 2007
And, in looking at your directives - see the comment inline
On 4/26/07, Jim <ale_nospam at fayettedigital.com> wrote:
>
> I thought I had it figured out, but no, no such luck.
>
> I had successfully added a subdomain and thought adding a domain would
> be a cinch. Here's my futile attempt (names changed to protect the
> guilty):
>
> NameVirtualHost 1.2.3.4:80
>
> <VirtualHost >
> DocumentRoot /var/www/
> ServerName farghnough.com
> <Directory /var/www/>
> AllowOverride All
> Options FollowSymLinks
> Order allow,deny
> Allow from All
> </Directory>
this needs to be inside its own virtual host directive
DocumentRoot /home/civil/public_html/
> ServerName civil.farghnough.com
> <Directory /home/civil/public_html/>
> AllowOverride All
> Options FollowSymLinks
> Order allow,deny
> Allow from All
> </Directory>
>
> DocumentRoot /home/curly-onions/public_html/
> ServerName curly-onions.com
> <Directory /home/curly-onions/public_html/>
> AllowOverride All
> Options FollowSymLinks
> Order allow,deny
> Allow from All
> </Directory>
>
> I've registered curly-onions.com, set the name servers to a couple of
> freedns servers, configured freedns to point to my VPS system
> farghnough.com's IP address and when I go to curly-onions.com, I get the
> home page of farghnough.com, so I know all that is working.
>
> Additionally, the civil.farghnough.com subdomain reference works
> correctly, that is when you reference it, the data comes from the
> /home/civil/public_html directory.
>
> However, curly-onions.com brings up the home page of farghnough.com and
> the name displayed changes to farghnough.com.
>
> I must be missing something trivial but I can't seem to find it.
>
> Thanks for any help.
>
> Jim.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
--
http://warrenmyers.com
"God may not play dice with the universe, but something strange is going on
with the prime numbers." --Paul Erd?s
"It's not possible. We are the type of people who have everything in our
favor going against us." --Ben Jarhvi, Short Circuit 2
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ale
mailing list