RE: [expert] Help! Apache Virtual Hosts & DNS updates
> #1 I cannot even PING anything.domain.com Who is running the DNS for DOMAIN.COM? You need a entries for ANYTHING.DOMAIN.COM. Does "nslookup anything.domain.com" work? Bill -Original Message- From: Edwin Linux Fan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 23, 2000 6:48 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [expert] Help! Apache Virtual Hosts & DNS updates 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?
Re: [expert] Help! Apache Virtual Hosts & DNS updates
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 > > 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 ServerAdmin ... DocumentRoot ... ServerName ... ErrorLog ... TransferLog ... 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
Re: [expert] Help! Apache Virtual Hosts & DNS updates
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 # 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 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
Re: [expert] Help! Apache Virtual Hosts & DNS updates
> 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 You should be able to ping it right away, as long as the change has been made. > > #2 I tried putting anything.domain.com >in the /etc/hosts file, it works, but >that's cheating. > > #3 What should I do? Talk to your DNS provider, make sure that it is setup? Do you know how to configure Apache for Virtual Host? If not let us know... Good Luck, Cecil
[expert] Help! Apache Virtual Hosts & DNS updates
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?