Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    199

    Question User accounts

    I have created a new account for a domain.
    Everything seems to work but ftp access is not to the right directory or something.

    www.pitstopgaming.com is pointing to wrong folder. I can ftp in and I see the directories below:

    /mail
    /public_ftp
    /public_html
    /tmp
    /www

    I uploaded new files to the public_html and I have tried to bring up the document I have placed in folder and doesn't show up. Apparently it seems to pointing else where.

    I am running Fedora Core 2

    WHM 9.4.0 cPanel 9.4.1-R64
    Fedora - WHM X v3.1.0

    Using a 15 day trial and plan on purchasing once I get these issues resolved.
    Someone please help!!!


    It seems to be pointing to "/usr/local/apache/htdocs/" instead of the /home/user/
    Last edited by Lestat; 08-24-2004 at 02:31 PM.

  2. #2
    Member
    Join Date
    Mar 2003
    Posts
    345

    Default

    This is most likely due to A records in WHM not being configured correctly. When you created the account in WHM did it produce any errors?? This sometimes happens when the entries are in httpd.conf file however the user doesn't exist in WHM.

    If you can please print the output generated by WHM when the account is initially created.

    Also make sure the A records a C name files are all created correctly in the DNS tool, inside WHM.

  3. #3
    Member
    Join Date
    Sep 2003
    Posts
    199

    Default

    OK I have removed the account and recreated:


    WWWAcct 8.0 by J. Nick Koston

    WARNING: using a custom IP overrides the setting!
    +===================================+
    | New Account Info |
    +===================================+
    | Domain: pitstopgaming.com
    | Ip: 64.247.18.xxx (y)
    | HasCgi: y
    | UserName: user
    | PassWord: pass
    | CpanelMod: x
    | HomeRoot: /home
    | Quota: unlimited Meg
    | NameServer1: ns1.pitstopgaming.com
    | NameServer2: ns2.pitstopgaming.com
    | NameServer3:
    | NameServer4:
    | Contact Email: me@pitstopgaming.com
    +===================================+
    User user added
    Changing password for user
    Password for user has been changed
    Keeping Shell Access (y)
    Copying skel files from /root/cpanel3-skel/ to /home/pitstopg/
    Using redhat 7.1/mdk 8.0
    Using new quota support
    (uid 320 0 0 ):
    Filesystem blocks soft hard inodes soft hard
    /dev/hda8 64 0 0 16 0 0
    /dev/hda3 0 0 0 0 0 0
    /dev/hda2 0 0 0 1 0 0
    Name Virtual Host already exists
    Added Entries to httpd.conf (ip)
    Adding Proftpd conf entry
    Bind reloading on home using rndc
    Added Named File
    Using Frontpage 5.x!

    Starting install, port: 80.

    Creating web http://www.pitstopgaming.com.
    Chowning Content in service /.
    Install completed.

    Starting chown, port: 80, web: "/".

    DocumentRoot: "/home/user/public_html"
    Setting Password
    Frontpage passthough auth enabled!
    Restarting apache
    Restarting proftpd
    Ftp Password Files synced
    Vhost Passwords synced
    send to CONTACTEMAIL (3) [3]
    wwwacct creation finished
    Reseller privs added!
    Account Creation Complete!!!

  4. #4
    Member
    Join Date
    Mar 2003
    Posts
    345

    Default

    Yes this is your problem.. A good way to diagnose problems with websites is a website dnsreport.com and dnsstuff.com very resourceful.


    Your nameservers are missing at the parent level, meaning your server level. So check the A records under DNS Tools of WHM and make sure they are listed. If they are not make sure you run the Resolve Config, and the Nameserver Setup options of WHM... Then recreate the account in WHM and problems should be fixed.


    To setup your resolve we use

    Primary -> 127.0.0.1
    Secondary -> IP of your NS1
    Tetritary -> IP of your NS2.

  5. #5
    Member
    Join Date
    Mar 2003
    Posts
    345

    Default

    Okay for some reason DNS is trying to hit nameservers called

    a.ns.pitstopgaming.com.
    b.ns.pitstopgaming.com.

    NOT
    NameServer1: ns1.pitstopgaming.com
    NameServer2: ns2.pitstopgaming.com

  6. #6
    Member
    Join Date
    Sep 2003
    Posts
    199

  7. #7
    Member
    Join Date
    Sep 2003
    Posts
    199

    Default

    How do I fix that????? must have posted same time ... I will try the above...

  8. #8
    Member
    Join Date
    Mar 2003
    Posts
    345

    Default

    Whos your datacenter (Dc?)

  9. #9
    Member
    Join Date
    Mar 2003
    Posts
    345

    Default

    Never heard of them but no matter...

    the domain pitstopgaming.com
    has the Nameservers as the following:

    Name Server: NS2.000CHEAPDOMAINS.COM
    Name Server: FORWARD.000CHEAPDOMAINS.COM


    Have you requested the nameservers be changed? at the registerar level?

  10. #10
    Member
    Join Date
    Sep 2003
    Posts
    199

    Default

    Hmmmm I have told my client to point his domain to the ns1 server. Not sure why it is not. I guess that is a big problem. Argh!
    Ok I have done the above I think.
    I deleted account and created again

    WWWAcct 8.0 by J. Nick Koston

    WARNING: using a custom IP overrides the setting!
    +===================================+
    | New Account Info |
    +===================================+
    | Domain: pitstopgaming.com
    | Ip: 64.247.18.xxx (y)
    | HasCgi: y
    | UserName: user
    | PassWord: pass
    | CpanelMod: x
    | HomeRoot: /home
    | Quota: unlimited Meg
    | NameServer1: ns1.pitstopgaming.com
    | NameServer2: ns2.pitstopgaming.com
    | NameServer3:
    | NameServer4:
    | Contact Email: me@pitstopgaming.com
    +===================================+
    User user added
    Changing password for user
    Password for user has been changed
    Keeping Shell Access (y)
    Copying skel files from /root/cpanel3-skel/ to /home/user/
    Using redhat 7.1/mdk 8.0
    Using new quota support
    (uid 320 0 0 ):
    Filesystem blocks soft hard inodes soft hard
    /dev/hda8 60 0 0 15 0 0
    /dev/hda3 4 0 0 1 0 0
    /dev/hda2 0 0 0 1 0 0
    Name Virtual Host already exists
    Added Entries to httpd.conf (ip)
    Adding Proftpd conf entry
    Bind reloading on home using rndc
    Added Named File
    Using Frontpage 5.x!

    Starting install, port: 80.

    Creating web http://www.pitstopgaming.com.
    Chowning Content in service /.
    Install completed.

    Starting chown, port: 80, web: "/".

    DocumentRoot: "/home/user/public_html"
    Setting Password
    Frontpage passthough auth enabled!
    Restarting apache
    Restarting proftpd
    Ftp Password Files synced
    Vhost Passwords synced
    send to CONTACTEMAIL (3) [3]
    wwwacct creation finished
    Reseller privs added!
    Account Creation Complete!!!
    Last edited by Lestat; 08-24-2004 at 03:07 PM.

  11. #11
    Member
    Join Date
    Sep 2003
    Posts
    199

    Default

    Now have to have him point to proper dns servers!! Thanks for the fix for somethng so aboviuos...

  12. #12
    Member
    Join Date
    Mar 2003
    Posts
    345

    Default

    Its still odd that he is getting the cPanel website configured unless his old host is using cpanel and doesn't have his account anymore..

    However a good thing to try is hitting it by IP/~hisusername and see if it displays his info like that.

    If it does then your side is setup correctly and its his DNS thats not. Let me know if it works by IP/~username

  13. #13
    Member
    Join Date
    Sep 2003
    Posts
    199

    Default

    Yup i just placed the ip I had given to the site and it showed his folder. All seems fine. I think he just forwared the domain to point to ip 64.247.18.xxx instead of editing the dns records.

  14. #14
    Member
    Join Date
    Mar 2003
    Posts
    345

    Default

    Yes thats exactly what he did. Glad to see you got it figured out

    Cheers!

  15. #15
    Member
    Join Date
    Sep 2003
    Posts
    199

    Default

    Thanks so kindly sir...

Similar Threads & Tags
Similar threads

  1. User Accounts
    By mavcom in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-10-2008, 01:57 PM
  2. Need Help. User accounts.
    By chibiuk_ in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-04-2006, 02:12 PM
  3. New User Accounts
    By redcable in forum New User Questions
    Replies: 6
    Last Post: 06-09-2004, 12:56 AM
  4. user email accounts...cannot create accounts either
    By phantom2 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-20-2004, 01:54 AM
  5. Restoring User accounts...
    By mitul in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-10-2003, 12:17 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube