PHP code for add in new addon domain like cPanel

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cohq82
Forum Commoner
Posts: 43
Joined: Mon Apr 21, 2008 8:38 pm

PHP code for add in new addon domain like cPanel

Post by cohq82 »

I have a website using drupal. I want to be able to have users to use their own domain name. For example, my website is http://www.website.com/userA and if user go to usera.com it will be http://www.website.com/userA instead.

I see that in cPanel there is a feature call Addon Domain where I can setup redirection for a domain to point to a specific file or folder. How to program this in the backend using PHP? Or is this only something that host provider can do? Thanks
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: PHP code for add in new addon domain like cPanel

Post by JAB Creations »

Seven posts and you still haven't read this page?
cohq82
Forum Commoner
Posts: 43
Joined: Mon Apr 21, 2008 8:38 pm

Re: PHP code for add in new addon domain like cPanel

Post by cohq82 »

JAB Creations wrote:Seven posts and you still haven't read this page?
??
User avatar
Chalks
Forum Contributor
Posts: 447
Joined: Thu Jul 12, 2007 7:55 am
Location: Indiana

Re: PHP code for add in new addon domain like cPanel

Post by Chalks »

I think he's trying to get you to post in this forum instead of the "General Discussion" forum.
Post Reply