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
You want to do the following
<VirtualHost anything.domain.com:80>
<Directory /home/anything/public_html>
....
....
....
# directives specific to the resources directories, scope of definition and so
on
# you can specify a port other than 80 as well in the VirtualHost directive
</Directory>
</VirtualHost>
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