Just after the ServerName entry, add this:

    ServerAlias ilyushin.org

and reload apache.


----- Original Message ----- 
From: "David Pang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 4:00 AM
Subject: Apache Virtual Hosting + OpenSRS registered domains


> Hello,
> 
> I've been trying to get an OpenSRS registered domain name to point to a
> virtual Apache host.  Has anyone here done, or is trying to do a similar
> thing?
> 
> I found a nameserver service, that provides a primary and secondary
> nameserver for those who are interested [ ns1.hn.org and aux1.hn.org
> ].  It's called HammerNode [ hn.org ].  You have access to the zone files
> and can edit CNAME, A, NS, and MX records.
> 
> I registered a domain name called "ilyushin.org" via the OpenSRS system [
> client v2.3.2.  I entered "ns1.hn.org" for the primary nameserver, and
> "aux1.hn.org" for the secondary one.
> 
> This is how I have my zone file set up:
> 
> ilyushin.org   NS      ns1.hn.org
> ilyushin.org   NS      aux1.hn.org
> ilyushin.org   CNAME   cold-medina.phoetus.net
> 
> cold-medina.phoetus.net points to /home/test/public_html.  This is the
> VirtualHost container in httpd.conf:
> 
> <VirtualHost *>
> ServerName cold-medina.phoetus.net
> ServerAdmin [EMAIL PROTECTED]
> DocumentRoot /home/test/public_html
> </VirtualHost>
> 
> cold-medina.phoetus.net is resolvable, and displays the contents of
> /home/test/public_html/index.php.  I want to get ilyushin.org to resolve
> to that location.
> 
> Is this possible?  Any help on this will be appreciated.
> 
> TIA,
> 
> - David Pang < [EMAIL PROTECTED] >
> 
> 
> 

Reply via email to