Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2001 00:37:54 +0200
From:      "Patrik Forsberg" <patrik.forsberg@dataphone.net>
To:        "Walter Betancourt" <walt@betan.com>, <freebsd-questions@freebsd.org>
Subject:   RE: hosting multiple domains with one IP 
Message-ID:  <8F69143C0B1A9F4D95AFC58CF69877E5071988@exhsto1.se.dataphone.com>

next in thread | raw e-mail | index | archive | help
Hi.

This is no problem.
You do the same thing as for a "normal" domain.

You have two ways (or maybe more then that.. but two primary).

1. Make the other ISP create a A-record for your sub-domain to your
server. All you have to do is to create a VirtualHost that have
SomeName.ServerName.org insted of only ServerName.org.. like this...
<VirtualHost SomeName.ServerName.org>
	ServerName SomeName.ServerName.org
	and so on...
</VirtualHost>

or..
2. Make the other ISP make a NS record for SomeName in the zone
ServerName.org to point to your nameserver. In your nameserver you
create a zone named SomeName.ServerName.org with the same configuration
as a normal domain.. and from thereon you simply address this subdomain
as a "normal" domain.

VirtualHost will look the same in ether case.

Well.. guess you could make the other ISP make a CNAME record to a name
defined by you.. that way you will have the same control as you would
with a NS record.
The downside to have a A-record for a domain in someone else's dns is
that you don't have the control.. so if you would for some reason move
your server to another ip-address you would have to ask that ISP to
change his record. While if you have ether a CNAME or a NS record you
can move the subdomain around as you wish.

Well... I hope this makes sense for you... it's quite late here so
please forgive me if I'm unclear or TO clear! :)

Regards,
Patrik


-----Original Message-----
From: Walter Betancourt [mailto:walt@betan.com]
Sent: den 5 maj 2001 00:16
To: freebsd-questions@freebsd.org
Subject: Re: hosting multiple domains with one IP=20


I know it is an unusual situation, but how would you setup a virtual
host=20
sub-domain

SomeName.ServerName.org

when ServerName.org is hosted at another ISP, but no problem to use the=20
sub-domain

( I actually have pointer to the other ISP for ServerName.org )

this gets confusing to me, dont know how to set up the virtual host
without=20
the ServerName.org on

my server, but I hope theres a dns wizard out there that can help

thanks


Walt


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8F69143C0B1A9F4D95AFC58CF69877E5071988>