paneluser280

Member
Mar 17, 2007
15
0
151
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
 

JPC-Martin

Active Member
PartnerNOC
May 31, 2008
37
1
58
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.
 

JPC-Stefan

Member
Oct 29, 2008
23
0
51
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.
 

Ipstenu

Registered
Apr 6, 2009
1
0
51
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?
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
27
143
Houston, TX
cPanel Access Level
Root Administrator
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.