Thank you all. was: [NTLUG:Discuss] setup web site
m m
llliiilll at hotmail.com
Sun Jul 9 01:18:48 CDT 2000
Travis and all:
Thanks for the input. I will try it and let you know.
jc
>From: Travis Bell <tjbell at usa.net>
>Reply-To: discuss at ntlug.org
>To: discuss at ntlug.org
>Subject: Re: [NTLUG:Discuss] setup web site
>Date: Fri, 07 Jul 2000 17:01:54 -0500
>
>m m wrote:
> >
> > Hi all:
> >
> > I have a domain name registered at register.com, say, mysite.org.
> > and I have request an IP address from my ISP, 123.123.100.100
> > use Apache as a web server.
> > IF I use IP address as the URL (http://123.123.100.100), it works
>(display
> > my pages).
> > But if I use the domain name as the URL (http://mysite.org), it don't
>works.
> > I know something need to do on DNS thing, Could anyone give me a hand?
> > TIA
>
>Hopefully this will help:
>
>The way mine is set up is that I have two domains pointing to the same
>IP. I converted mine to your case. The way it stands,
>http://www.mysite.org will deliver the pages in /usr/local/httpd/htdocs,
>http://123.123.100.100 will also deliver the pages in
>/usr/local/httpd/htdocs, but http://www.othersite.org will deliver the
>pages in /usr/local/httpd/other_site_htdocs.
>
>
>## -- httpd.conf file (snippets) -- ##
>ServerName mysite.org
>
><VirtualHost 123.123.100.100>
>ServerAdmin llliiilll at hotmail.com
>DocumentRoot /usr/local/httpd/htdocs # or wherever
>ServerName mysite.org
>ScriptAlias /cgi-bin /usr/local/httpd/cgi-bin # or wherever
>AddType application/x-httpd-cgi .cgi # and/or whatever
></VirtualHost>
>
><VirtualHost 123.123.100.100>
>ServerAdmin llliiilll at hotmail.com
>DocumentRoot /usr/local/httpd/other_site_htdocs
>ServerName othersite.org
>ScriptAlias /cgi-bin /usr/local/httpd/other_site_cgi-bin
>AddType application/x-httpd-cgi .cgi
></VirtualHost>
>## -- End httpd.conf file (snippets) -- ##
>
>--
>Travis Bell -aka- MudPoet
>echo tjbexx at usa.nyz | tr xyz let
>http://tjbell.dhs.org
>ICQ: 6014042 - AIM: MudPoet
>
>_______________________________________________
>http://ntlug.org/mailman/listinfo/discuss
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
More information about the Discuss
mailing list