[NTLUG:Discuss] This will need a guru I think

Jay Urish j at dalwan.net
Thu Jan 20 13:50:58 CST 2000


Yes! I can do this!

in httpd.conf put

name virtualhost 24.4.38.60

then you can use your virtualhost directives like:

<Virtualhost 216.250.65.2>
Servername www.dfwclubs.com
Serveralias dfwclubs.com
Serveradmin webmaster at dfw-webmasters.com
DocumentRoot /usr/www/dfwclubs
ScriptAlias /cgi-bin/ /usr/www/dfwclubs/cgi-bin/
<Directory /usr/www/dfwclubs/cgi-bin>
Options all multiviews
</Directory>
<Directory /usr/www/dfwclubs>
Options +Includes
</Directory>
errorlog logs/dfwclubs-er-log
customlog logs/dfwclubs-ac-log combined
</virtualhost>

then whala!

you can specify whatever name you want apache to respond to.. Just make 
sure your DNS points to the right place




At 01:26 PM 1/20/00 , you wrote:
>Hope there are some Apache gurus out there.  Better yet, I hope this is
>possible.
>
>Situation I want to work:
>   Two different domain names pointed to the same IP:
>     tjbell.dhs.org     - 24.4.38.60
>     heshtime.dhs.org   - 24.4.38.60
>   Apache recognizes which name the user typed in and takes it to
>appropriate
>   shtml page:
>     tjbell.dhs.org     - index.shtml
>     heshtime.dhs.org   - heshtime/index.shtml
>     24.4.38.60         - index.shtml
>
>Of course capitalization would need to be resolved and fixed to figure
>out which they want in the case of TjBelL.DHs.OrG and such...
>
>IS THIS POSSIBLE??
>
>--
>TJ Bell -aka- MudPoet
>echo tjbexx at usa.nyz | tr xyz let
>http://tjbell.dhs.org
>
>_______________________________________________
>http://ntlug.org/mailman/listinfo/discuss


Jay Urish
Network Engineer - Dallas Wide Area Networking L.L.C
www.dalwan.net





More information about the Discuss mailing list