The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

User subdomains NOT created through cPanel

Discussion in 'General Discussion' started by phoxxy, May 3, 2005.

  1. phoxxy

    phoxxy Member

    Joined:
    Jan 16, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I've searched high and low for this and I would appreciate if anyone could do a walk through on settings up subdomains for users without going through cPanel.

    The skinny:

    I have a scripting package that will create virtual user accounts with URLs like this: http://www.mydomain.com/user/

    The script says that Apache must have mod_rewrite (which it does) in order to create subdomains that change the above example into: http://user.mydomain.com

    I will have many subdomains that will need to be set up like this and I do not want to do it via cpanel all the time.

    Basically, the ideal solution to this would be to have the user's website be accessable via both examples above and behave just like subdomains created via cPanel.

    I've read about wildcards and mod_rewrite. I've tried setting up a .htaccess file, but with no success. The script creates the account, but the best I can do is get the "There is no website configured at this address" default cPanel page when I put a user's subdomain in.

    I would appreciate any help. Most examples that I have come across do not include cPanel in the picture and often point to a regular *nix box w/ virtual hosting.

    P.S. I am migrating to this script because I want to automate the creation of user accounts w/ subdomains. Since there aren't any scripts that interface w/ cPanel for what I want to do, this is my only solution. The script I am using is great (but the author's support stinks and he doesn't know anything about servers running cPanel).
     
  2. kistler

    kistler Well-Known Member

    Joined:
    Jan 27, 2005
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    I have a sub domain script that sets it up automatically, both – sub.something. com and something. com/sub , is this what you are looking for? On all versons of cPanel, also includes Auto intstall of FTP, MySQL, and Emails. This is all backed up with a MySQL Admin Database.
     
    #2 kistler, May 4, 2005
    Last edited: May 4, 2005
  3. phoxxy

    phoxxy Member

    Joined:
    Jan 16, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Does it have a web interface and allow for the user to manage their own account? That's mostly what I'm looking for. I'm trying to make life a little easier on me in handling users. I don't want them to email me everytime they need a password reset. Also, I'm running pureftp, so I am using quotas.

    I would like to see a demo of the script, however. Pop me an email. I"m interested in all options at this point.
     
  4. kistler

    kistler Well-Known Member

    Joined:
    Jan 27, 2005
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    Will do I am away from the script at this time but I should be able to send it to you later on, it does have a password reset, but not really a (user’s control panel) but does have a Admin CP)
     
  5. semplon

    semplon Registered

    Joined:
    Oct 8, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    wow, this is what i need, can i get it too ? :D
     
  6. phoxxy

    phoxxy Member

    Joined:
    Jan 16, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    they never responded to me, but I found a different solution.

    I found a script that will create subdomains via cpanel for me and do my billing and management all in one. So I guess it is an okay trade off.
     
  7. semplon

    semplon Registered

    Joined:
    Oct 8, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    hehehe :D can i get that scripts ?
     
  8. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
  9. semplon

    semplon Registered

    Joined:
    Oct 8, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    hmmmmmm

    it's use CGI, and not free is there any application that free ?
     
  10. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    Not that i am aware of. Personally i prefer perl/cgi to php.

    Anup
     
Loading...

Share This Page