On Tue, 23 May 2000, you wrote:
> On Tue, 23 May 2000, you wrote:
> > I'm working on a project.
> > I've got a DOMAIN.COM
> > Now I want 3rd level domains,
> > using Apache Name-Based Virtual Hosts:
> > I made: ANYTHING.DOMAIN.COM
> > 
> > I do not operate my own DNS.
> > My provider says it should work.
> > 
> > I want the same effect as bigstep.com...
> > ... you know: yourcompany.bigstep.com
> > 
> > Questions:
> > 
> > #1 I cannot even PING anything.domain.com
> > 
> > #2 I tried putting anything.domain.com
> >    in the /etc/hosts file, it works, but
> >    that's cheating.
> > 
> > #3 What should I do?
> 
> the file you want is httpd.conf, which will be in the directory where you have
> configured Apache
> 

ARRGGGHHH  On rereading--looks clear as mud.

Let me try again
> You want to do the following
> 
> <VirtualHost anything.domain.com:80>
ServerAdmin (email_address)
DocumentRoot /home/anything/public_html
ServerName anything.domain.com
ErrorLog (some_file_name_for_errors)
TransferLog (Some_file_name_to_log_transfers)
>
> # you can specify a port other than 80 as well in the VirtualHost directive

 </VirtualHost>
<VirtualHost www.domain.com:80>
ServerAdmin ...
DocumentRoot ...
ServerName ...
ErrorLog ...
TransferLog ...
</VirtualHost>

Hope that is a teeny bit more helpful....

Civ

> Server config info....
> 
> ...
> ...
> ...
> ##---some end to httpd.conf
> 
> 
> Do that for as many third-level domains as you care to, in one httpd.conf list
> all the VirtualHost directives one after another before the server config... and
> hope that wildcards and CNAME records are being forwarded by your domain
> service.
> 
> Anyway Apache should start responding to requests sent to these names once the
> httpd.conf file is updated and the daemon restarted.
> 
> Civileme

Reply via email to