On 12/4/06, Whil Hentzen (Pro*) <[EMAIL PROTECTED]> wrote:
>
> Now what? <g>
>
> Where do I point Apache's virtuals to the IPs, so testdomainOne.com is
> served up to 1.2.3.4 while 1.2.3.5 connects with testdomainTwo.com.
>

Depends on your distro, but most Apaches are configured so that
/etc/httpd/conf/httpd.conf has an INCLUDE directive that reads in all
of the configuration files (ending in .conf) from the
/etc/httpd/conf.d directory. In the main httpd.conf file you want to
tell it to do name virtual hosting with:

NameVirtualHost *:80

In the conf.d directory, add the directives for the named hosts you
want to support. For example. phlapjaxs.com.conf reads:

<VirtualHost *:80>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /var/www/html/phlapjaxs
    ServerName www.phlapjaxs.com
</VirtualHost>

If you want different domains to be on different IP addresses, use
those IP addresses instead of the asterisk above.

-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to