[NTLUG:Discuss] Need help in getting my RH 6.0 to accept multiple domains.

Travis Bell tjbell at usa.net
Fri Jun 9 16:49:39 CDT 2000


Hector M Banda wrote:
> 
> Hi all,
> The other day I was trying to make my server to accept multiple domains and I
> did not have any luck. I wonder if somebody can help me getting this problem
> solved giving you some ideas of what I've done.
> 
> This is where I'm at:
>         a. The server was configured as a regular server just for
>         one domain (www.need-info.com).
> 
>         b.  I modified the httpd.conf files and looks something like this
>           NameVirtualHost 207.233.124.14
>           <VirtualHost 207.233.124.14>
>           ServerName     www.need-info.com
>           DocumentRoot   /home/httpd/html/need-info
>           </VirtualHost>
> 
>           <VirtualHost 207.233.124.14>
>           ServerName     www.lasespeciales.com
>           DocumentRoot   /home/httpd/html/lasespeciales
>            </VirtualHost>

I think your problem is that both VirtualHosts are the same
("<VirtualHost 207.233.124.14>" for both)

I have mine set up and working...here's a snippet from my httpd.conf
file:

### Virtual Hosts #################################################
### www.linux-consulting.com/FAQ_virtual/DemoFiles/httpd.httpd.conf
NameVirtualHost 24.4.38.60

<VirtualHost 24.4.38.60>
DocumentRoot /usr/local/httpd/htdocs
ServerName tjbell.dhs.org
</VirtualHost>

<VirtualHost bellcentral.dhs.org>
DocumentRoot /usr/local/httpd/htdocs/bellcentral
ServerName bellcentral.dhs.org
</VirtualHost>
### End Virtual Hosts #############################################

-- 
Travis Bell -aka- MudPoet
echo tjbexx at usa.nyz | tr xyz let
http://tjbell.dhs.org
ICQ: 6014042 - AIM: MudPoet




More information about the Discuss mailing list