mapping the first part of a domainname to a default domainname

From: Date: Fri, 13 Oct 2000 14:07:36 +0000
Subject: mapping the first part of a domainname to a default domainname
Groups: php.general 
Request: Send a blank email to php-general+get-20009@lists.php.net to get a copy of this message
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

« previous php.general (#20009) next »