Results 1 to 3 of 3

Thread: Cpanel, PHP and Adding Domains

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    2

    Question Cpanel, PHP and Adding Domains

    Hello People,

    I am requiring a bit of assistance with Cpanel and PHP script, what I'm trying to do is make a script that will add a domain and point it automatically to a directory already created.

    Default Location of Files: /home/internaluser/public_html/domains/


    Say I have a domain "www.cpanelexpertsinc.com" (Not a actual domain), I have a form a person fills out with this domain name and Extension. once he submits this it'll automatically allow a domain name to be entered into the system. which will automatically be directed to a directory that is a internal website.

    If a person is already registered in the system, the system will remove the old domain (Not the directory) add the new domain in place and redirect it to the new site entered.

    Could anyone help me with this script, It will help me and I am sure it will help a lot of other people out their with similar issues.

    Thank you very much,

  2. #2
    Registered User
    Join Date
    Mar 2009
    Posts
    2

    Default Re: Cpanel, PHP and Adding Domains

    So No Help?

  3. #3
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Cpanel, PHP and Adding Domains

    I'm not entirely certain what you are trying to do still after reading your post. Could you post what you have for your script currently?
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. Domains not adding!!!
    By SetLar8 in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 09-17-2005, 09:14 AM
  2. Adding on domains
    By h0nk in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 12-29-2004, 07:35 PM
  3. Is there a problem adding sub-domains to add-on domains??
    By DWHS.net in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 03-08-2003, 04:21 AM
  4. Incorrect quota on CPANEL by adding files through php progra
    By smartinfo in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-14-2002, 03:00 AM