: We are trying to set up with WebSite Pro HTTP Server, and MS DNS,
: a 'virtual domain'.
: I mean, trying to set up www.virtual.com without a real IP, even
: a bound IP ( or associating it with a real one in www.realdomain.com ).
:
: Does anyone knows how to config DNS so www.virtual.com points to
: IP 123.456.789.999 and also having www.realdomain.com pointed to
: IP 123.456.789.999 ? Is this possible ?
:
: Website tests before proceeding to set up the web domain, that is
: valid and resolves to a 'valid' IP.

First of all, the machine you are hosting on MUST have the IP address in
question bound to one of its network adapters.  You cannot get around this.
You can have many hosts mapped to a single IP address, but the address must
still exist on the same server as WebSite.

Second, when you set up your zone files (for instance, virtual.com.db and
realdomain.com.db), simply create the appropriate A records in a manner
similar to the examples below.

As for WebSite, it doesn't care too much what's going on as long it can
resolve the identity (i.e., www.virtual.com) to an address on that machine.
The content can be anywhere.  The IP address can be used over and over
again.  The only caveat is that some very old browsers won't work properly
with it because the browser must send the host/domain as part of the HTTP
request.  If the browser in question uses only an IP address, WebSite will
return either an error message or perhaps some content that is associated
with a host that *is* bound to the IP address used (of which there can be
only one besides any virtual hosts).


--------------------

;
; File: c:\var\named\realdomain.com.db (or wherever you store your zone
files)
;
; Domain realdomain.com
;

@                       IN      SOA     1stns.realdomain.com. 
hostmaster.realdomain.com. (
               2000030901   ;   Serial Number                    [yyyymmdd##]
                    10800   ; Domain Refresh Interval          [3h]
                     3600   ;   Failed Query Retry Interval      [1h]
                   604800   ;   Domain Cache Expiration Interval [7d]
                    86400 ) ;   Minimum/Default TimeToLive       [1d]

;       Name Server Records

                        IN      NS      1stns.realdomain.com.
                        IN      NS      2ndns.realdomain.com.

;        Mail Exchanger Records

realdomain.com.         IN      MX      10      mail
realdomain.com.         IN      MX      20      backupmail


;        Hosts

@               IN    A     123.456.789.999
ftp             IN    A     123.456.789.999
mail            IN    A     123.456.789.999
www             IN    A     123.456.789.999

--------------------

;
; File: c:\var\named\virtual.com.db (or wherever you store your zone files)
;
; Domain virtual.com
;

@                       IN      SOA     1stns.realdomain.com. 
hostmaster.realdomain.com. (
               2000030901   ;   Serial Number                    [yyyymmdd##]
                    10800   ; Domain Refresh Interval          [3h]
                     3600   ;   Failed Query Retry Interval      [1h]
                   604800   ;   Domain Cache Expiration Interval [7d]
                    86400 ) ;   Minimum/Default TimeToLive       [1d]

;       Name Server Records

                        IN      NS      1stns.realdomain.com.
                        IN      NS      2ndns.realdomain.com..

;        Mail Exchanger Records

virtual.com.            IN      MX      10      mail
virtual.com.            IN      MX      20      backupmail


;        Hosts

@               IN    A     123.456.789.999
ftp             IN    A     123.456.789.999
mail            IN    A     123.456.789.999
www             IN    A     123.456.789.999

--------------------

___________________________________
David V. Brenner - [EMAIL PROTECTED]
International Services Network Corporation
http://www.cport.com



Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to