[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: [cobalt-users] looking at a site before domain is transferred
- Subject: FW: [cobalt-users] looking at a site before domain is transferred
- From: "Carrie Bartkowiak" <admin@xxxxxxxxxxxxxxxxxx>
- Date: Thu Oct 26 21:11:08 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Ack. For some reason my messages are going straight back to the person
instead of to the list. Sorry for sending that straight your way, Dan! I
meant to just toss it out there for anyone to comment on.
-----Original Message-----
From: Carrie Bartkowiak
Sent: Thursday, October 26, 2000 10:45 PM
To: dan@xxxxxxxxxxxxx
Subject: RE: [cobalt-users] looking at a site before domain is
transferred
I looked at the two pages you suggested Dan, and as usual, they make
references to things but don't clearly explain what they mean. :)
Plus they seem to contradict each other.
I want to test doing this with a domain that is already responding;
bardbrain.com. It is site 3 on my machine.
I added the virtual site bard.allaboutchoice.com. It became site 8.
Then I went into DNS and added an A record for bard.allaboutchoice.com and
checked the reverse address lookup box. Then I saved the DNS configuration.
So now along with my normal DNS for allaboutchoice.com, I have this:
bard.allaboutchoice.com --> 208.155.66.219 and
208.155.66.219/24 --> bard.allaboutchoice.com
Now when I type in http://bard.allaboutchoice.com I get sent to site 8.
This is great, because it shows me how to add subdomains like that instead
of as users (/~username). One milestone cleared. I wanted to know how to do
that too!
But it still doesn't let me look at site 3, which I would need if
bardbrain.com wasn't responding yet.
Adding a cname doesn't do anything, unless I'm not doing it correctly and
don't know it. I can only point it at allaboutchoice.com, if I put in
anything after that it tells me it won't accept it.
So I went to httpd.conf and found the section for bard.allaboutchoice.com.
I changed the lines that read site8 to read site3 like so:
<VirtualHost 208.155.66.219>
ServerName bard.allaboutchoice.com
ServerAdmin admin
DocumentRoot /home/sites/site3/web
RewriteEngine on
RewriteCond %{HTTP_HOST} !^208.155.66.219(:80)?$
RewriteCond %{HTTP_HOST} !^bard.allaboutchoice.com(:80)?$
RewriteRule ^/(.*) http://bard.allaboutchoice.com/$1
[L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site3/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType text/html .shtml
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
</VirtualHost>
Even though I have done this, still when I type in bard.allaboutchoice.com I
get sent to site8.
Any suggestions on what I've missed or done wrong? I'm really trying here,
I would love to know how to view a site before the domain name propogates
(other than putting it on its own IP).
Carrie
~~~~
Dan wrote:
This has probably been covered a dozen times on this list. It's in the
archives.
http://list.cobalt.com/oldlist/cobalt-users/msg03578.html
http://list.cobalt.com/pipermail/cobalt-users/2000-March/008351.html
--
Dan Kriwitsky