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.

IP issues

Discussion in 'General Discussion' started by nightscream, Dec 22, 2002.

  1. nightscream

    nightscream Member

    Joined:
    Sep 28, 2002
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I've moved all the sites I have from one server to another server.
    These sites belong to reseller accounts, so I set the privilages and shared IP for each reseller..

    Now here's the thing:
    the Shared IP is the 2ry Ip for each reseller..
    when you write down the IP in a browser you get the last website added to this Ip..not the normal server page

    This happens to the main server IP too.

    Another thing: with FTP accounts
    The sites on a reseller's shared IP seem to point to the first site added to this IP on accessing FTP, I've tried to fix this by editing the DNS of each site so that ftp.domain.com points to the main server IP.

    Can someone help me with these 2 issues?

    Many thanks :)
     
  2. drose25

    drose25 Well-Known Member

    Joined:
    Apr 3, 2002
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    I'm experiencing this problem as well. If anyone has a solution or suggestion it would be great. Anyone trying to ftp.theirdomain.com gets the first reseller site on that reseller shared IP and is not able to login.

    I've fixed it temporarily by point ftp.theirdomain.com to the main server IP, but resellers aren't happy with this solution since it shows the servername instead of their domain name.
     
  3. drose25

    drose25 Well-Known Member

    Joined:
    Apr 3, 2002
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Work-around for second issue (FTP login problems)

    1. make a copy of /etc/proftpd.conf for a backup :)

    2. open /etc/proftpd.conf and look for these lines, where IP is the reseller/shared IP with the problem. Find the first instance, there may be several but you only need to edit the first.

    &VirtualHost 64.XX.XX.XX&
    ExtendedLog /etc/httpd/domlogs/ftp.username.com-ftpbytes_log READ BytesLog
    TransferLog /etc/httpd/domlogs/ftp.username.com-ftp_log
    ServerName ftp.username.com
    AuthUserFile /etc/proftpd/username

    3. Change ServerName to something generic like ProFTP

    4. Change AuthUserFile to /etc/proftpd/passwd.vhosts

    5. Save the file

    6. Kill and restart ProFTPD (don't just click restart in WHM, you need to kill it first from the command line. )
     
Loading...

Share This Page