Changing Domain Name
2 posts by 2 authors in: Forums > CMS Builder
Last Post: June 3, 2010 (RSS)
By (Deleted User) - June 2, 2010
I just had a question about changing the primary domain name on my server and how it will affect the CMSB. Right now the CMS is on our server with the primary dn of www.travabond.com. I want to change the primary domain name to www.realtymagazine.com now that the site is nearing completion. What do I need to do to make sure the CMS and database all continue working with the new domain name? Is is just a matter of changing the domain name in the settings.dat.php file? Thanks!
Re: [cjnovak] Changing Domain Name
By Jason - June 3, 2010
Hi,
As long as the new domain isn't changing your folder structure, you shouldn't run into any problems. A couple of things to look for:
- check you re quire_once() statements that include viewer_functions.php. Make sure these are relative paths, that don't use the domain:
example:
require_once("cmsAdmin/lib/viewer_functions.php");
not
require_once(domainname/cmsAdmin/lib/viewer_functions.php");
- also, you'll want to make sure you <a> tags use relative paths as well.
Hope this helps.
As long as the new domain isn't changing your folder structure, you shouldn't run into any problems. A couple of things to look for:
- check you re quire_once() statements that include viewer_functions.php. Make sure these are relative paths, that don't use the domain:
example:
require_once("cmsAdmin/lib/viewer_functions.php");
not
require_once(domainname/cmsAdmin/lib/viewer_functions.php");
- also, you'll want to make sure you <a> tags use relative paths as well.
Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/