Virtual Hosts - C Records & Static IP address - Quick Question

Hi,

In order to host two domains, say www.xyz.com and www.abc.com, do I
need to get hold of either dual ip address or to setup C records?

Or can I simply point the DNS A record of both domains at my single
static ipaddress and then use the <VirtualHost> lines to point traffic
to the different domains at different directories?

Many thanks in advance for answering this quick question...
william.hooper [ Fr, 12 Oktober 2007 19:51 ] [ ID #1843393 ]

Re: Virtual Hosts - C Records & Static IP address - Quick Question

Answer is no... you can host as many web sites as your like just by
pointing main dns record at your server. no need to buy extra ip or
think about c records (whatever they are - some articles mentioned
them).
william.hooper [ Sa, 13 Oktober 2007 17:42 ] [ ID #1844057 ]

Re: Virtual Hosts - C Records & Static IP address - Quick Question

On Fri, 12 Oct 2007 19:51:01 +0200, <william.hooper [at] gmail.com> wrote:
> In order to host two domains, say www.xyz.com and www.abc.com, do I
> need to get hold of either dual ip address or to setup C records?

Nope

> Or can I simply point the DNS A record of both domains at my single
> static ipaddress and then use the <VirtualHost> lines to point traffic
> to the different domains at different directories?

Indeed


--
Rik Wasmus
Rik Wasmus [ Di, 16 Oktober 2007 17:30 ] [ ID #1846240 ]
Webserver » alt.apache.configuration » Virtual Hosts - C Records & Static IP address - Quick Question

Vorheriges Thema: Mod Rewrite - Variables after conditions
Nächstes Thema: IHS (IBM apache) spawns way too many processes