Here's the site: http://203.98.74.172/~cruicksh/index.ph ... t-the-farm
host switched my ip
I changed the config file but my images are still looking for the old server. I even tried deleting an images and re-upload but still nothing.
Any ideas anyone?
Thanks,
Herb.
host switched my ip
Re: host switched my ip
Herb,
Probably te DNS-servers haven't been synchronised yet. I don't think that you have any pointing to IP's only to DOMAINS. If they switched IP's you should reflect your domain to look there as well instead of to the old IP. After some hours all DNS-servers should know the new IP-settings for the domain, than you can connect to www.domain.com again instead of to IP-adress.
In your config.php the domain-name is stored, this one will still check the IP belonging to that domain.
Ronny
Probably te DNS-servers haven't been synchronised yet. I don't think that you have any pointing to IP's only to DOMAINS. If they switched IP's you should reflect your domain to look there as well instead of to the old IP. After some hours all DNS-servers should know the new IP-settings for the domain, than you can connect to www.domain.com again instead of to IP-adress.
In your config.php the domain-name is stored, this one will still check the IP belonging to that domain.
Ronny
Re: host switched my ip
Full paths of images are probably written in page content and stored normally in database. So instead images having path /images/image.jpg or http://yournewip/images/image.jpg they have path http://youroldip/images/image.jpg
So you eighter edit that page where you old image paths are or run mysql script to replace old ip and other stuff in your database. Be carefull with this and take BACKUP ALWAYS!
Like Ronny said check your setting in your config.php. But whatever has been earlier and stored to databse is not changed with that.
Maybe there is some smarter way of doing this that somebody knows? I believe there is way to set config.php so that no http://your-ip-or-address will be written in image path but that could bring some other problems.
Hope this helps.
K
So you eighter edit that page where you old image paths are or run mysql script to replace old ip and other stuff in your database. Be carefull with this and take BACKUP ALWAYS!
Like Ronny said check your setting in your config.php. But whatever has been earlier and stored to databse is not changed with that.
Maybe there is some smarter way of doing this that somebody knows? I believe there is way to set config.php so that no http://your-ip-or-address will be written in image path but that could bring some other problems.
Hope this helps.
K
Re: host switched my ip
yes i think the absolute path has been written into the page. I was hoping to not have to go back and insert them again. i thought perhaps I could just delete the old images using the file manager and by re-uploading them the file path would be updated.
maybe i'm confused with regards to ip's and domains but...
their actual domain is still pointing to their old site. I'm using the ip that my host supplied to me when I when i set up the account. once the site is ready i thought i could update the name server's and the config file and away i go. does anyone see a problem with that?
maybe i'm confused with regards to ip's and domains but...
their actual domain is still pointing to their old site. I'm using the ip that my host supplied to me when I when i set up the account. once the site is ready i thought i could update the name server's and the config file and away i go. does anyone see a problem with that?
Re: host switched my ip
Herb,
I think you can go one with that. I think that your config.php now reflects the IP-address instead of the domain-name, that is no problem. When their naming is complete you can go with changing the correct name/ip in the config.php.
What do you mean with absolute paths. Are the images linked to absolute paths in the content, if so, you better make them relative.
If you don't have them set to absolute, please check the complete config.php as there are links to the uploads-folder as well, I don't know if you changed all links pointing at the old IP.
Ronny
I think you can go one with that. I think that your config.php now reflects the IP-address instead of the domain-name, that is no problem. When their naming is complete you can go with changing the correct name/ip in the config.php.
What do you mean with absolute paths. Are the images linked to absolute paths in the content, if so, you better make them relative.
If you don't have them set to absolute, please check the complete config.php as there are links to the uploads-folder as well, I don't know if you changed all links pointing at the old IP.
Ronny