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.

Issues w/ cPanel Success Page

Discussion in 'General Discussion' started by bsamson, Jun 1, 2008.

  1. bsamson

    bsamson Active Member

    Joined:
    Sep 18, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Hello! This is my first attempt at having my dedicated server at my office. This is my current setup

    My Server is up and running CentOS 4.6 w/ cPanel. All appears to be functioning correctly. My office has 1 dedicated IP. I currently have a wireless linksys router setup and I have given the server a dedicated lan ip address (192.168.1.70) which is outside the dhcp ip range.

    Now, my resolv.conf file consists of the DNS servers of my webhost.

    My ifcfg-eth0 file looks like this:
    DEVICE=eth0
    BOOTPROTO=static
    BROADCAST=192.168.1.255
    HWADDR=00:11:2F:FB:2C:02
    IPADDR=192.168.1.70
    NETMASK=255.255.255.0
    NETWORK=192.168.1.0
    ONBOOT=yes
    TYPE=Ethernet

    Now, when I attempt to view a website I add via WHM I always end up @ the GREAT SUCCESS cPanel page.

    I think my problems boil down to the IP issue. I have tried to change the IPADDR in the ifcfg-eth0 file to the WAN dedicated IP and everything stops working.

    Within cPanel it shows the MAIN SHARED IP ADDRESS is the 192.168.1.70. So, within the IP POOL I added the WAN IP address and rebuilt it. Then I created a new reseller user and changed the MAIN SHARED IP to the WAN IP.

    Then I assigned all the websites to that user.

    Still same problem. Can I please get some pointers on this?

    Thanks in advance for any assistance.
     
  2. Amit Deshmukh

    Amit Deshmukh Well-Known Member

    Joined:
    Jul 1, 2007
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Cool

    Great Job . . .

    Keep it up :)
     
    #2 Amit Deshmukh, Jun 1, 2008
    Last edited: Jun 1, 2008
  3. bsamson

    bsamson Active Member

    Joined:
    Sep 18, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    I got it working HOWEVER I had to edit the httpd.conf file to do so.
    Let's assume my WAN dedicated IP is:

    208.208.208.50
    and my LAN IP is:
    192.168.1.70

    Basically I had to change:

    <VirtualHost 208.208.208.50:80>

    to

    <VirtualHost 192.168.1.70:80 208.208.208.50:80>

    I realzie this method isn't recommended b/c cPanel updates will overwrite this. How do I go about telling cPanel to add both IP's to the VirtualHost?

    Thanks in advance for any suggestions!
     
    #3 bsamson, Jun 1, 2008
    Last edited: Jun 1, 2008
Loading...

Share This Page