You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Muhammad Rizwan Khan <ri...@nixpanel.com> on 2004/07/09 04:37:35 UTC

[users@httpd] Apache and DNS

Hello

I am creating a domain i.e. mydomain.com and its subdomain i.e. 
sub.mydomain.com in apache. Now i have to create its  zone file for dns,, 
Should i create just one zone file for domain i.e. db.mydomain.com and its 
subdomain or two differnet zone files for domain i.e. db.mydomain.com 
and its subdomain  i.e. db.sub.mydomain.com . In addition should i need to 
create two seprate Virtual hosts in apache for domain and subdomain,,,or it 
it possible to handle it in 1 Virtual host...

Thanks

Muhammad Rizwan Khan


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache and DNS

Posted by Muhammad Rizwan Khan <ri...@nixpanel.com>.
On Sunday 11 July 2004 00:19, Tim Burden wrote:
> One zone record, two VirtualHost entries.

Thanks for your reply, can you plz. give me an example zone file for this 
case.

Thanks






> ----- Original Message -----
> From: "Aman Raheja" <ar...@techquotes.com>
> To: <us...@httpd.apache.org>
> Sent: Saturday, July 10, 2004 9:14 AM
> Subject: Re: [users@httpd] Apache and DNS
>
> > I don't use BIND, so can't advice on that. Ever tried djbdns - you'll be
> > happier and more secure.
> > Anyway, you will need two VirtualHost in the httpd.conf if you mean to
> > have two different sites to be pointed to these two.
> >
> > HTH
> >
> > On Fri, 2004-07-09 at 02:37, Muhammad Rizwan Khan wrote:
> > > Hello
> > >
> > > I am creating a domain i.e. mydomain.com and its subdomain i.e.
> > > sub.mydomain.com in apache. Now i have to create its  zone file for
>
> dns,,
>
> > > Should i create just one zone file for domain i.e. db.mydomain.com and
>
> its
>
> > > subdomain or two differnet zone files for domain i.e. db.mydomain.com
> > > and its subdomain  i.e. db.sub.mydomain.com . In addition should i need
>
> to
>
> > > create two seprate Virtual hosts in apache for domain and
> > > subdomain,,,or
>
> it
>
> > > it possible to handle it in 1 Virtual host...
> > >
> > > Thanks
> > >
> > > Muhammad Rizwan Khan
> > >
> > >
> > > ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP Server
>
> Project.
>
> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> >
> > --
> > Aman Raheja       Linux+ Certified
> > araheja@techquotes.com       Brainbench Certified Linux (General) Admin
> > www.TechQuotes.com       Brainbench Certified Linux (RedHat 9) Admin
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> > Project. See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

-- 

Muhammad Rizwan Khan
http://nixpanel.com
MSN ID: nixpanel@hotmail.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache and DNS

Posted by Tim Burden <ti...@burden.ca>.
One zone record, two VirtualHost entries.

----- Original Message ----- 
From: "Aman Raheja" <ar...@techquotes.com>
To: <us...@httpd.apache.org>
Sent: Saturday, July 10, 2004 9:14 AM
Subject: Re: [users@httpd] Apache and DNS


> I don't use BIND, so can't advice on that. Ever tried djbdns - you'll be
> happier and more secure.
> Anyway, you will need two VirtualHost in the httpd.conf if you mean to
> have two different sites to be pointed to these two.
>
> HTH
>
> On Fri, 2004-07-09 at 02:37, Muhammad Rizwan Khan wrote:
> > Hello
> >
> > I am creating a domain i.e. mydomain.com and its subdomain i.e.
> > sub.mydomain.com in apache. Now i have to create its  zone file for
dns,,
> > Should i create just one zone file for domain i.e. db.mydomain.com and
its
> > subdomain or two differnet zone files for domain i.e. db.mydomain.com
> > and its subdomain  i.e. db.sub.mydomain.com . In addition should i need
to
> > create two seprate Virtual hosts in apache for domain and subdomain,,,or
it
> > it possible to handle it in 1 Virtual host...
> >
> > Thanks
> >
> > Muhammad Rizwan Khan
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> -- 
> Aman Raheja       Linux+ Certified
> araheja@techquotes.com       Brainbench Certified Linux (General) Admin
> www.TechQuotes.com       Brainbench Certified Linux (RedHat 9) Admin
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache and DNS

Posted by Aman Raheja <ar...@techquotes.com>.
I don't use BIND, so can't advice on that. Ever tried djbdns - you'll be
happier and more secure.
Anyway, you will need two VirtualHost in the httpd.conf if you mean to
have two different sites to be pointed to these two.

HTH

On Fri, 2004-07-09 at 02:37, Muhammad Rizwan Khan wrote:
> Hello
> 
> I am creating a domain i.e. mydomain.com and its subdomain i.e. 
> sub.mydomain.com in apache. Now i have to create its  zone file for dns,, 
> Should i create just one zone file for domain i.e. db.mydomain.com and its 
> subdomain or two differnet zone files for domain i.e. db.mydomain.com 
> and its subdomain  i.e. db.sub.mydomain.com . In addition should i need to 
> create two seprate Virtual hosts in apache for domain and subdomain,,,or it 
> it possible to handle it in 1 Virtual host...
> 
> Thanks
> 
> Muhammad Rizwan Khan
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
-- 
Aman Raheja		      Linux+ Certified
araheja@techquotes.com	      Brainbench Certified Linux (General) Admin
www.TechQuotes.com	      Brainbench Certified Linux (RedHat 9) Admin


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org