Re: I think i saw this somewhere....
| From: | Manuel Lemos | Date: | Mon, 07 Jan 2002 07:12:17 +0000 |
| Subject: | Re: I think i saw this somewhere.... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15478@lists.php.net to get a copy of this message | ||
Hello,
Dave Carrera wrote:
>
> Hi All
>
> I think i saw a php script somewhere on my web travels, that allows you to
> include
> sub domain reg to your web site.
>
> it allowed you to offer
>
> http://yourname.choiceofdomainname.com
>
> so the visitor can have thier name in front of a domain name reged to our
> webspace.
>
> If i remeber right, it had a mysql db in the background.
>
> Is this kind of thing available or did i dream it.
That is plain easy and has nothing to do with PHP. Just add a
*.choiceofdomainname.com entry to your DNS records pointing to the same
IP as www.choiceofdomainname.com . Then also add virtual domain entries
for www and * to Apache configuration. In your site, you can always
check each domain is being accessed by checking the environment
variables.
Regards,
Manuel Lemos