RE: [PHP] mapping the first part of a domainname to a default domainname

From: Date: Fri, 13 Oct 2000 15:53:24 +0000
Subject: RE: [PHP] mapping the first part of a domainname to a default domainname
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20033@lists.php.net to get a copy of this message
I do not believe you can do wildcard hostnames with DNS, but look here for further details: http://www.acmebw.com/cats.htm John > > Hi there, > > I think it's off topic, but anyway... > > In the dns records of a domain you can insert multiple hostnames that are > part of the domain. > > For example: www1.domain.com, www2.domain.com. > > Is there a way you can put in wildcards for the hostname so that if the > specified host is not found in the dns of the domain it redirects the > visitor to a specified default domain. > > For example if the visitor types in johndoe.domain.com he gets > redirected to > www.domain.com > > Thanks, > > Olav > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#20033) next »