(E-Mail Removed) (Xyerp) wrote in message news:<(E-Mail Removed). com>...
> (E-Mail Removed) (Sitorus Wenny) wrote in message news:<(E-Mail Removed) om>...
> > Dear Sirs,
> >
> > I am on a masq'ed Redhat 8.0 box, which installed Apache
> > webserver and getting a dynamics DNS such that people can browse
> > my site, say http://www.mylinux.dinamik.net/ as well as its /~users.
> > This I think because the /etc/host is set as mylinux. Now I want
> > outside can open the site with http://www.mylinux2.dinamik.net/
> > without changing the /etc/host. Is it possible for such alias?
> > How I have to configure the httpd.conf file?
> >
> > Thanks for your helps.
> >
> > ss wenny.-
>
> Soundns like you need "name based virtual hosts". Look for that bit in the manual.
Thanks alot for
(E-Mail Removed)..
I tried like the following but did not work as I expected..
NameVirtualHost IP-of-dinamik-hostname
<VirtualHost IP-of-dinamik-hostname>
ServerName
www.mylinux.dinamik.net
DocumentRoot /var/www/html
</VirtualHost>
<VirtualHost IP-of-dinamik-hostname>
ServerName
www.mylinux2.dinamik.net
DocumentRoot /var/www/html
</VirtualHost>
it boots without any error message in /var/log/message but
when open the site
http://www.mylinux2.dinamik.net/ it
redirected to the site of
www.dinamik.net
http://www.mylinux.dinamik.net/ can still opened normally.
Is there any solution for helps?
ss wenny.-