Help - Search - Members - Calendar
Full Version: Site not working after changing the IP address
The Planet Forums > Control Panels > cPanel/WHM
Deep
Hi,
I changed IP address of one of my sites but now that site doesnt seem to work..

When i access the site, it shows cpanel default page i.e. "There is no website configured at this address."

I checked httpd.conf for new entries and found the the things to be ok..

but still donno what could be the problem

here is the virtualhost entry in httpd.conf

CODE
<VirtualHost 69.56.NEW.IP>

ServerAlias www.mysite.com mysite.com

ServerAdmin webmaster@mysite.com

DocumentRoot /home/UserName/public_html

BytesLog domlogs/mysite.com-bytes_log

ServerName www.mysite.com

User UserName

Group UserGroup

<IfModule mod_userdir.c>

UserDir disabled

UserDir enabled UserName

</IfModule>

<IfModule mod_php4.c>

php_admin_value open_basedir "/home/UserName/:/usr/lib/php:/usr/local/lib/php:/tmp"

</IfModule>

CustomLog domlogs/mysite.com combined

ScriptAlias /cgi-bin/ /home/UserName/public_html/cgi-bin/

</VirtualHost>


The New IP address is currently for this site only and then later i am gonna have all my Personal sites on it..

any ideas about how to get this thing working?

Regards
Deep
S3
It can take 4 hours or more, even 24-36, after you update your nameservers, before the changes become apparent on the web. If you are not running your own nameservers, of course you'll have to update them manually. If you are serving your own dns, check the dns zone file in whm and see if it reflects the correct, new IP.
Deep
I am using my own name servers

it shows same IP address...

i.e. new IP address...

but one strange thing i found there..

i have used server1.mydomain.com as hostname which is on main shared IP i.e. OLD IP

and mydomain.com is on new IP

so when i go to edit a dns zone for mydomain.com

it shows server1.mydomain.com as well with new IP

but there is one more seperate dns zone for server1.mydomain.com with OLD IP too

can it be the reason ? i.e. server1 present in mydomain.com with new IP ?

Regards
Deep
Altec
it still takes 24-36 hours for names server to propagate. (resolve)
Deep
yup i am aware of that...

I have changed IP address 3-4 days back..

Deep
Stefaans
I don't think the conflicting info for server1.mydomain.com is the cause for the problem, but that needs rectifying in any case. I suggest you delete the record for server1 from your zone for mydomain.com.

As far as the IP problem is concerned, I think S3 is correct. It sounds like a DNS caching issue. Even though your name servers have the correct IP, your ISP though which you connect may still be using the old IP. I suggest your ping mydomain.com and see which IP address is listed. If the old one, it will likely confirm that it's a DNS caching problem. If it shows the new IP, then it's not a DNS problem and the problem will then rather be with your httpd.conf (even though it seems correct in you post).
Deep
I dont think it could be the problem with the ISP, but when i ping mysite.com it takes old ip address only..

i checked it using proxy server also it shows same page icon_sad.gif

btw i deleted server1 entry from mysite.com

the site used to work fine when i had it on shared IP address...

any ideas?

Deep
Deep
ouch...

found the reason...

I think bymistake i changed dns of other site to new one and did not change dns of this one...

i will check it tmrw and let you know if that is not the problem icon_smile.gif

thanks all for the help...

Deep
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.