Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Mar 2007
    Posts
    15

    Default Dedicated IP to Shared Breaks Site

    I established a site on a dedicated IP, now I want to move it to the shared IP on the same server. Everytime I change the ip of the site it goes down, I receive the "Great Success ! Apache is working on your cPanel® and WHM™ Server" message. When I view the site I receive a "404 not found"

    When I move the site it shows the correct IP in "Show Ip Usage", DNS looks correct, I cleaned the DNS Pool, restarted DNS Server, but the site does not appear unless I return back to the dedicated IP it was originally assigned.

    Also, after moving the site from shared to dedicated I did notice that the "ftp.site.com" remains at the old "dedicated' ip address.

    Any thoughts.

    Thank you

    JR

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge JPC-Martin's Avatar
    Join Date
    May 2008
    Posts
    38

    Default

    It seems that you have IP conflict , Please make sure the IP addresses against problematic domain.

    1: Check IP in /var/cpanel/userdata/user's name
    i: Check domain.com file
    ii: Check subdomain.domain file

    2: Check virtual host entry for problimatic domain in httpd.conf located at /usr/local/apache/conf/httpd.conf

    3: I will also ask you to check DNS entries of domain.
    Martin.K | JaguarPC.com
    JaguarPC High Class Hosting since 1998*
    Unmanaged VPS Hosting | Managed VPS Hosting | Fail Over Hosting

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2008
    Posts
    24

    Default

    Please check if anonymous FTP is enabled for your account, if so then disable the anonymous FTP and then try to change the IP address.

    After changing IP check httpd.conf file to make sure that IP is changed in apache configuration file as well.
    Stefan | JaguarPC
    www.JaguarPC.com

  4. #4
    Member
    Join Date
    Mar 2007
    Posts
    15

    Default

    Thank you. Let me check these setting and I wil get back to you.

    Thanks for the support.

    JR

  5. #5
    Registered User
    Join Date
    Apr 2009
    Posts
    1

    Default

    I'm having this exact same problem.

    If I move back to my old, dedicated IP, it's fine, but if I go to the shared one, the site borks.

    /var/cpanel/userdata/user points to the right IP, the domain.com file is correct.
    What's My DNS? Global DNS Propagation Checker points to the right IP
    /var/cpanel/users/user is fine.

    /usr/local/apache/conf/httpd.conf has the only 'oddity.'

    It has THIS for the domain I moved, but the other domain doesn't have the NameVirtualHost line:

    NameVirtualHost xx.xxx.xx.xx:80
    <VirtualHost xx.xxx.xx.xx:80>
    ...

    Any suggestions?

  6. #6
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default

    Quote Originally Posted by Ipstenu View Post
    It has THIS for the domain I moved, but the other domain doesn't have the NameVirtualHost line:

    NameVirtualHost xx.xxx.xx.xx:80
    <VirtualHost xx.xxx.xx.xx:80>
    ...

    Any suggestions?
    There should be only one NameVirtualHost directive per IP address. This simply enables name-based virtual hosting for that IP address. The <VirtualHost></VirtualHost> containers hold the directives specific to each domain.

    The cause of the "Great Success!" page is normally caused by a request coming to an Apache on an IP address on which the domain is not configured. Usually, this is caused by a mismatch between the DNS A record for the domain and the Apache configuration.

    One thing to check that has not been mentioned so far in this thread is that this often happens in NAT environments. If the account is assigned an external, public IP address in cPanel, but the request comes to the server on an internal, private IP address, the Great Success! page will be displayed. The IP address assigned to the site must exactly match the IP address over which the HTTP request comes.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. site ip is dedicated but requests sent from shared one!
    By Bahram0110 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-13-2010, 01:32 PM
  2. Replies: 5
    Last Post: 09-21-2009, 08:40 AM
  3. shared IP site binding like dedicated ip.. urgent
    By JonathanLIVE in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-05-2007, 03:32 PM
  4. Problem when changing site from shared to dedicated IP ?
    By Hostbox.be in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-01-2005, 04:28 AM
  5. Stop site from using main shared IP as dedicated IP
    By snet in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-26-2005, 09:29 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube