Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Subdomains
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daicoden  
View profile  
 More options Oct 6 2007, 8:01 am
Newsgroups: alt.apache.configuration
From: Daicoden <MattWilson.6...@gmail.com>
Date: Sat, 06 Oct 2007 12:01:13 -0000
Local: Sat, Oct 6 2007 8:01 am
Subject: Subdomains
Hi!

I was wondering what you have to do in order to have a domain1 point
to subdomain.domain2.

I have woodstock.com and I would like that to point to
woodstock.snoopy.com

My DNS is configured like...

snoopy:
@               xxx.xxx.xxx.xxx A
woodstock   snoopy.com       CNAME

woodstock:
@     woodstock.snoopy.com CNAME

my apache configuration in 01_woodstock_vhost.conf on the machine that
hosts snoopy is

<VirtualHost *:80>
    DocumentRoot "/var/www/woodstock/"
    ServerName "woodstock.snoopy.com"
</VirtualHost>

I can visit woodstock.snoopy.com and it works great!  However
woodstock.com takes me to snoopy.com NOT woodstock.snoopy.com

I'm not sure what to do next I tried doing something like this... but
I don't know where to go next
<VirtualHost *:80>
    DocumentRoot "/var/www/woodstock/"
    ServerName "woodstock.com"
</VirtualHost>

Thank you!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daicoden  
View profile  
 More options Oct 9 2007, 1:49 pm
Newsgroups: alt.apache.configuration
From: Daicoden <MattWilson.6...@gmail.com>
Date: Tue, 09 Oct 2007 17:49:08 -0000
Local: Tues, Oct 9 2007 1:49 pm
Subject: Re: Subdomains
No luck, still redirects to snoopy.com...  I have woodstock.snoopy.com
and woodstock.com in my vhost file.

Thanks for the thought though!  Do I need to do something special with
my DNS?  I got it to semi work using a frame (one of the options in my
dns configuration), but I'd really like to change that!

Thanks,

Matt


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Floor  
View profile  
 More options Nov 17 2007, 10:43 am
Newsgroups: alt.apache.configuration
From: "Floor" <Fl...@yahooh.co.not>
Date: Sat, 17 Nov 2007 16:43:27 +0100
Local: Sat, Nov 17 2007 10:43 am
Subject: Re: Subdomains
Daicoden:

> No luck, still redirects to snoopy.com...  I have woodstock.snoopy.com
> and woodstock.com in my vhost file.

You might change the order of the

<VirtualHost *>
...
</VirtualHost>

entries.
Floor


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Floor  
View profile  
 More options Nov 17 2007, 10:45 am
Newsgroups: alt.apache.configuration
From: "Floor" <Fl...@yahooh.co.not>
Date: Sat, 17 Nov 2007 16:45:05 +0100
Local: Sat, Nov 17 2007 10:45 am
Subject: Re: Subdomains
Sorry, too quick: just change the order of the separate VirtualHost _blocks_
Floor

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google