changing site name from IP address to REAL domain name
Posted: Wed Jul 11, 2007 2:29 pm
First I am running CMS 1.0.8 "Kona" and it is on a Windows 2003 server using XAMPP as the engine.
When I first starting setting my site up, I only had the IP address that we were going to use as our site, so I started building pages right and left using that IP as the site name. After I got the site ready to go "live", I had our state hosting agency add the actual domain name to make it resolve to our address. The first page does fine but all subsequent pages still resolve to the IP address. What I need to know is how do I go back in and get the site rename using the "real URL" and not the IP address? Since I don't have the Install directory anymore (deleted per instructions), I don't see how to get back in to correct this name problem.
So I have to figure out the correct way to get CMS to go through and make all the corrections to the xml links (I am guessing) so that they resolve to the actual DNS name and NOT the IP address. I tried just opening the config.php page in notepad, and did a find and replace where I replaced ALL entries in it having just the IP address with the actual URL (domain name) and I thought everything was good, but then the FCKEditorX started giving me XML errors when I tried to add images to pages, so that messed that up. I got fearful of other stuff being messed up so I put the old config.php file back. I just need to know how to get this thing to recognize all the pages now as the REAL domain name.
I am fearful of hosing the install or something if I don't do this correctly as I experienced by just trying a "hack" of sorts on the config.php file.
Thanks for any help that can be provided.
When I first starting setting my site up, I only had the IP address that we were going to use as our site, so I started building pages right and left using that IP as the site name. After I got the site ready to go "live", I had our state hosting agency add the actual domain name to make it resolve to our address. The first page does fine but all subsequent pages still resolve to the IP address. What I need to know is how do I go back in and get the site rename using the "real URL" and not the IP address? Since I don't have the Install directory anymore (deleted per instructions), I don't see how to get back in to correct this name problem.
So I have to figure out the correct way to get CMS to go through and make all the corrections to the xml links (I am guessing) so that they resolve to the actual DNS name and NOT the IP address. I tried just opening the config.php page in notepad, and did a find and replace where I replaced ALL entries in it having just the IP address with the actual URL (domain name) and I thought everything was good, but then the FCKEditorX started giving me XML errors when I tried to add images to pages, so that messed that up. I got fearful of other stuff being messed up so I put the old config.php file back. I just need to know how to get this thing to recognize all the pages now as the REAL domain name.
I am fearful of hosing the install or something if I don't do this correctly as I experienced by just trying a "hack" of sorts on the config.php file.
Thanks for any help that can be provided.